On Wed, 11.01.12 14:44, Jan Engelhardt ([email protected]) wrote:

> >> Forcing the use of @ introduces a policy, which should preferably not be 
> >> done. Since programs started from the initrd obviously should be having 
> >> a /proc/*/{cwd,exe} symlinks pointing to the initramfs vfsmount.
> >
> >They are in a different namespace, so that wouldn't work.
> 
> Namespace as in clone(2)'s CLONE_NEWNS?

No, my expression was a bit unclean there.

What I meant is that the path in argv[0] and similar stops making sense
after the switch to the root fs, since we did a MS_MOVE there, which
invalidates all old paths...

But yeah, there's no new vfs namespace opened, just some major changes in
what means what in the original namespace.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to