All of lore.kernel.org
 help / color / mirror / Atom feed
* ROOT_HOME: /home/root
@ 2014-01-29 12:32 Laszlo Papp
  2014-01-29 12:37 ` Phil Blundell
  2014-01-29 12:52 ` Richard Purdie
  0 siblings, 2 replies; 11+ messages in thread
From: Laszlo Papp @ 2014-01-29 12:32 UTC (permalink / raw)
  To: openembedded-core; +Cc: daniel.elstner

Hi,

Is there any obstacle why this cannot be /root as per default Unix
philosophy [1]?

It is not an unusual that the /home partition is a separate, and the
sysadmins would like to manage the core system without getting that
partition mounted, etc.

It is true that it would be possible to work that around, but /root as
a default just feels so much more natural on a Unix system.

What I currently see after talking to a few people, the people keep
changing it in their layer (distribution) config. It looks sub-optimal
at first, but perhaps there are still valid reasons to keep this
around?

I was told on IRC the first embedded debian may have done it to keep
rootfs read-only. First, you can remount the root partition on jffs2,
ubifs, etc... as R/W.

Even if you could not, you can have a separate /root partition which
is a good idea anyway to keep the super-user separate from the
"regular" users. If that is not OK, there is still the option for the
minority to override it to /home/root if really needed, but I
personally do not think it should be...

So, all in all, I am in favor of changing this back to /root to be
more linux-y and well-separated from the normal users.

Unfortunately, it would lead to some breakages out there when they
update Yocto, so it may not be acceptable in this project. I do not
know the rules. The migration could be aided though with some proper
documentation.

Cheers, L.

[1] FHS 2.3 still says  /root : Home directory for the root user (optional)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-29 16:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 12:32 ROOT_HOME: /home/root Laszlo Papp
2014-01-29 12:37 ` Phil Blundell
2014-01-29 12:39   ` Laszlo Papp
2014-01-29 14:06     ` Koen Kooi
2014-01-29 15:04       ` Laszlo Papp
2014-01-29 15:16         ` Koen Kooi
2014-01-29 16:23           ` Laszlo Papp
2014-01-29 12:52 ` Richard Purdie
2014-01-29 12:59   ` Laszlo Papp
2014-01-29 13:13     ` Richard Purdie
2014-01-29 13:29       ` Laszlo Papp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.