systemd-homed is coming: mobile home live USBs
systemd-homed is coming: mobile home live USBs
https://linuxreviews.org/Systemd-Homed_ ... irectories
I'm agnostic right now about systemd, but this homed capability might convince me to become a true believer. But maybe the MX devs will find a way to shim this so that it works without systemd, so I can remain happily agnostic.
I'm agnostic right now about systemd, but this homed capability might convince me to become a true believer. But maybe the MX devs will find a way to shim this so that it works without systemd, so I can remain happily agnostic.
Re: systemd-homed is coming: mobile home live USBs
Please don't. If anything, leave this "feature" only at systemd.imschmeg wrote: Tue Feb 04, 2020 4:29 pm But maybe the MX devs will find a way to shim this so that it works without systemd,
Re: systemd-homed is coming: mobile home live USBs
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken
- Head_on_a_Stick
- Posts: 919
- Joined: Sun Mar 17, 2019 3:37 pm
Re: systemd-homed is coming: mobile home live USBs
Useless? Have you not read the various articles explaining why systemd-homed has been created?

The new feature solves a very real problem: if a user's home directory is encrypted then the key must be stored in RAM when the machine is suspended and this leaves them vulnerable to cold boot attacks. With systemd-homed the directory is un-mounted before suspension and so the key is not exposed to malicious agents.
It's not all roses though because the new feature adds ~21,000 lines of code[1] which is a significant potential attack surface.
mod note: Signature removed, please read the forum rules
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: systemd-homed is coming: mobile home live USBs
If just the user's encrypted home directory is safe that doesn't mean the rest of the system is safe from cold boot attacks though.Head_on_a_Stick wrote: Wed Feb 05, 2020 11:06 amUseless? Have you not read the various articles explaining why systemd-homed has been created?![]()
The new feature solves a very real problem: if a user's home directory is encrypted then the key must be stored in RAM when the machine is suspended and this leaves them vulnerable to cold boot attacks. With systemd-homed the directory is un-mounted before suspension and so the key is not exposed to malicious agents.
It's not all roses though because the new feature adds ~22,000 lines of code[1] which is a significant potential attack surface.
Having one key to your house doesn't stop a bad person from running up behind and hitting you over the head after you unlock the door.
This doesn't stop attackers from getting access to your home directory if they really want to, they just have to go about it a different way.
An attacker just has to wait until the user accesses their home directory after login. The "if" still exists... only the "when" has changed a bit. Well and complexity but that's too much text for me to type now...
The goal should be to protect the WHOLE system, not just the home directory. But that will probably be the next step in the GNU/Linux take over... "rootD"
IMHO this is just more systemD spread more than anything else.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.
- Head_on_a_Stick
- Posts: 919
- Joined: Sun Mar 17, 2019 3:37 pm
Re: systemd-homed is coming: mobile home live USBs
The feature has a specific goal and addresses a particular problem that has existed for a long time without a solution. You do agree with that, yes?
Yes, one of the things I really like about systemd (not "systemD" btw) is the unified set of (optional) tools it provides that are consistent across many distributions. Fragmentation is a long-standing issue in the GNU/Linux ecosystem: https://xkcd.com/927/SwampRabbit wrote: Wed Feb 05, 2020 11:21 am IMHO this is just more systemD spread more than anything else.
mod note: Signature removed, please read the forum rules
Re: systemd-homed is coming: mobile home live USBs
I have thought for a while that each home dir should be fully modularized from the system it runs on. Having that done to the point where a home can be unplugged and plugged into an entirely different system it has never met before and work immediately and securely would be ideal. The development of systemd-homed doesn't sound like it has faced the system-specific complications of this (uids, gids, etc.) but it seems to be on its way. Then there will be the app-specific complications - but I think those are already under development (such as the Nix package manager - allowing multiple versions of apps to coexist).
If this was a feature that got pulled into the Linux kernel independent of systemd, I think its possible many would have a different reaction.
If this was a feature that got pulled into the Linux kernel independent of systemd, I think its possible many would have a different reaction.
- Head_on_a_Stick
- Posts: 919
- Joined: Sun Mar 17, 2019 3:37 pm
Re: systemd-homed is coming: mobile home live USBs
+1imschmeg wrote: Wed Feb 05, 2020 11:47 am If this was a feature that got pulled into the Linux kernel independent of systemd, I think its possible many would have a different reaction.
Haters gotta hate...

mod note: Signature removed, please read the forum rules
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: systemd-homed is coming: mobile home live USBs
Does it have a specific goal and addresses a particular problem = NO it is has many goals and addresses several "problems". They even state this, the goal isn't just securing home, that guise is being used as justification.Head_on_a_Stick wrote: Wed Feb 05, 2020 11:37 amThe feature has a specific goal and addresses a particular problem that has existed for a long time without a solution. You do agree with that, yes?
Is there no other solution = NO Suspend to disk (hibernate) is an option, while not exactly the same solution. IMO, relying on a software based key isn't going to really solve the root problem anyway.
You said "optional", I'm not sure if you're being sarcastic or what? lolHead_on_a_Stick wrote: Wed Feb 05, 2020 11:37 amYes, one of the things I really like about systemd (not "systemD" btw) is the unified set of (optional) tools it provides that are consistent across many distributions. Fragmentation is a long-standing issue in the GNU/Linux ecosystem: https://xkcd.com/927/SwampRabbit wrote: Wed Feb 05, 2020 11:21 am IMHO this is just more systemD spread more than anything else.
Anyone can agree that fragmentation can be a problem with anything, but that isn't to say controlled modular separation is the same thing. I doubt that anyone would disagree that the a hub and spoke architecture is specifically without issues either. Which is what they are trying to accomplish. True dependence on their specific hub and spokes.
I have yet to see, could be wrong, that any real problem has been solved to date that wasn't already solved by something else. Heck, there was even talk about forking the kernel at one point.
Edit: fixed qoutes cause I'm not smarts
Last edited by SwampRabbit on Wed Feb 05, 2020 12:24 pm, edited 3 times in total.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: systemd-homed is coming: mobile home live USBs
There are already solutions to this (secure is debatable), they aren't coming up with new ideas.imschmeg wrote: Wed Feb 05, 2020 11:47 am Having that done to the point where a home can be unplugged and plugged into an entirely different system it has never met before and work immediately and securely would be ideal.
But I would caution going out to random bars and going home with random people thinking that it could ever be a good idea.
The kernel has nothing to do with this. Besides, you're talking "independence".... that's not a stated goal and never will be.imschmeg wrote: Wed Feb 05, 2020 11:47 am If this was a feature that got pulled into the Linux kernel independent of systemd, I think its possible many would have a different reaction.
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.