|
|
Subscribe / Log in / New account

Systemd programming, 30 months later

Systemd programming, 30 months later

Posted Oct 5, 2016 22:58 UTC (Wed) by nix (subscriber, #2304)
In reply to: Systemd programming, 30 months later by bfields
Parent article: Systemd programming, 30 months later

As an aside, I'm wondering if the bind-mounting I'm doing is confusing things. If you NFS-export /home/.foo, but then bind-mount copiously from out of /home/.foo/* into /home (and /home is on the same filesystem as /home/.foo), would that confuse the pseudoroot-construction code?


to post comments

Systemd programming, 30 months later

Posted Oct 7, 2016 0:59 UTC (Fri) by bfields (subscriber, #19510) [Link] (1 responses)

I'm scratching my head, trying to remember how that code works....

I suspect this is something the NFS protocol just isn't well-equipped to handle, and I'm a little surprised you haven't run into any odd behavior with NFSv3 too.

That said, I can't think of an immediate reason why the basics shouldn't work, so there may just be a simple bug somewhere. Might be worth a bug report next time you try it, but I'll admit it might not get priority attention.

Systemd programming, 30 months later

Posted Oct 13, 2016 13:48 UTC (Thu) by nix (subscriber, #2304) [Link]

I'm ignoring subtree-hiding issues here -- /home contains nothing other than NFS mounts, bind-mounts (from the NFS mounts and from the stuff we're exporting) and the stuff we're exporting, so there are no security implications of being able to guess cookies, etc.

So... one would hope it works. It certainly seems to work perfectly with NFSv3.

I'll try again one of these days...


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds