systemd (europe.pub)
submitted 5 months ago by [M] to c/memes@lemmy.ml
 
you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 5 months ago* (last edited 5 months ago) (9 children)

I wait for the day that systemd unifies all /etc config file and the .* config files into one easy to use service that stores the configurations in one efficient central binary file with a tree structure for the values and thus maintains consistency over all applications, is easy to backup and overall makes life much better for developers and users alike.

  • source
  • hideshow 9 child comments
  • [–] 6 points 5 months ago (1 child)

    For desktop/app level stuff this is already the case with DConf, so I guess the challenge would just be to extend this into the kernel/services how

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 5 months ago*

    Avoiding round trips and context switches is desirable in itself, but the real advantage[citation needed] comes from allowing the I/O scheduler in the kernel to do a better job by saturating it with requests coming from all of the applications trying to read their keys (as opposed to a common configuration server serially requesting a single key at a time).

    Having all of the keys in a single compact binary format also avoids the intense fragmentation problems currently experienced by the tree-of-directories-of-xml-files approach

    https://en.wikipedia.org/wiki/Dconf

    I didn't know.

  • source
  • parent
  • [–] 5 points 5 months ago* (3 children)

    Ideally stores/spits them out as JSON. Also for the kernel please.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 5 months ago (2 children)

    Am I having a stroke or are you intentionally describing nixos

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 5 months ago* (last edited 5 months ago) (1 child)

    Idk I found its config language kinda confusing. JSON is stupidly simple

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 5 months ago

    Admittedly it is pretty confusing, but its spec describes it as "json with functions", and once you get a handle on the recursive aspect of it (and that it kinda smushes multiple imported jsons together), its not too bad.

    Stupid useful too

  • source
  • parent