[poky] thud systemd root home wrong
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Mon Jan 14 10:35:27 PST 2019
Answering myself here...
> On Jan 14, 2019, at 1:18 PM, Jean-Francois Dagenais <jeff.dagenais at gmail.com> wrote:
>
> Were there any plans to submit this upstream? Seems a worthy mod. Although might not be a need for regular distros.
I looked at it closer and does seem like its not upstream-able. At least, not in such a simple form.
There are tests and units in the source tree which would need to by dynamically updated. On top of that, the man pages give some good arguments to keep root as "/root":
/root
The home directory of the root user. The root user's home directory is located outside of /home in order to make sure the root user may log in even without /home being available and mounted.
You'd be hard pressed to get the systemd people to agree to change this I think.
So the problem is certainly becoming a bit too big for the amount of extra time I can afford right now.
For the record, since we don't actually require root's home to be in /home, I will add ROOT_HOME = "/root" in my distro file as a perfectly fine workaround for our use.
I will try to help any brave soul who tries to tackle this in the near future! ;)
Cheers!
/jfd
More information about the poky
mailing list