Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Sunday September 22 2019, @01:00PM   Printer-friendly
from the all-your-computer-are-belong-to-us dept.

At the All Systems Go conference in Berlin 20-22 September, Lennart Poettering proposed a new extension to systemd, systemd-homed.service. A video of his session can be downloaded from media.ccc.de with accompanying slides [PDF].

In his presentation, Poettering outlines a number of problems he sees with the current system, like /etc needs to be writeable, UIDs need to be consistent across systems, and lack of encryption and resource management.

His goals with the proposed solution are migrateable and self-contained, UID-independent home directories with extensible user records that unify the user's password and encryption key; LUKS locking on system suspend; and Yubikey support.

He identifies a number of problems this new idea could cause with SSH logins, disk space assignments, UID assignments, and LUKS locking.

He plans to introduce JSON user records that can be queried via a Varlink interface and to a certain extent are convertible to and from existing formats. The home directories will be stored as LUKS-encrypted files that will be managed by the proposed new service, systemd-homed.service. The system integration will be supported by pam_systemd and systemd-logind.service.

It will be interesting to see how the world responds to this new take on systemd's ever-increasing encroachment of Linux.

... and lastly, this story is brought to you from a systemd-free laptop.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by SemperOSS on Monday September 23 2019, @10:28AM (2 children)

    by SemperOSS (5072) on Monday September 23 2019, @10:28AM (#897490)

    I do not like my home directory too cluttered. Currently it consists of the following hidden files (produced with ls -1dF):

    • .aspell.en.prepl
    • .aspell.en.pws
    • .bash_history
    • .bash_logout
    • .bash_profile
    • .bashrc
    • .cache/
    • .config/
    • .dbus/
    • .desktop*
    • .dmrc
    • .esd_auth
    • .fontconfig/
    • .Fontmatrix/
    • .fonts.conf
    • .gconf/
    • .gksu.lock
    • .gnome2/
    • .gnupg/
    • .gtk-bookmarks
    • .gtkrc-2.0
    • .gtkrc-2.0-kde4@
    • .ICEauthority
    • .kde/
    • .kde4@
    • .lesshst
    • .local/
    • .mdk-menu-migrated
    • .menu-updates.stamp
    • .mozilla/
    • .mzbu/
    • .orc/
    • .pingus/
    • .pki/
    • .profile
    • .purple/
    • .PySolFC/
    • .shutter/
    • .ssh/
    • .subversion/
    • .thbbu/
    • .thumbnails/
    • .thunderbird/
    • .Trash/
    • .vim/
    • .viminfo
    • .vimrc
    • .wget-hsts
    • .Xauthority
    • .xsession-errors

    I would rather see one like:

    • .cache/
    • .config/
    • .dbus/
    • .local/
    • .Store/
    • .Trash/
    • .xsession-errors


    --
    I don't need a signature to draw attention to myself.
    Maybe I should add a sarcasm warning now and again?
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by DeVilla on Wednesday September 25 2019, @11:54PM (1 child)

    by DeVilla (5354) on Wednesday September 25 2019, @11:54PM (#898849)

    I can understand your not wanting a particular directory to get clutter. In contrast, I'd like to know where everything for a given application is. I'd rather know my info for firefox is in ~/.firefox and not have to guess which pieces are in .config/firefox, .cache/firefox, .local/firefox, .local/share/firefox, ... Add to that the reality that I current also have to look in various other directories like .gnome/*.

    Now if those all go in one ~/.hidden/* directory, fine. But having each application's data spread across all these directories was a big step backwards for me on the backup / restore / migration front.

    • (Score: 3, Interesting) by SemperOSS on Thursday September 26 2019, @12:31PM

      by SemperOSS (5072) on Thursday September 26 2019, @12:31PM (#899066)

      Fair enough, and I could easily accept that, provided they all go under something like a .App directory. That would also clear up the home directory. I would still like .cache to be separate, though, as I do not back up cache files.

      I personally prefer the separation between caches, configuration and local data, as they have different backup schedules: caches never, configuration when it changes and local data on a regular basis. Some well-placed symbolic links might give us the best of both worlds, if only programs like rsync would know when to follow symbolic links and when not to.


      --
      I don't need a signature to draw attention to myself.
      Maybe I should add a sarcasm warning now and again?