2014-11-22 20:30 GMT+01:00 Russ Allbery <r...@debian.org>: > Jonas Smedegaard <d...@jones.dk> writes: >> Quoting Russ Allbery (2014-11-22 18:01:12) > >>> I also like the idea of not having ssh depend on all local file systems >>> to be mounted. I think it's going to be pretty rare to have a system >>> that has /lib and /etc mounted but can't start ssh. In theory, that's >>> possible with a split / and /usr, but as we've discussed in other >>> threads, that's an extremely unusual configuration these days. > >> It surprises me that it is considered "extremely unusual": It is an >> option offered in stable debian-installer without any advanced trickery >> (just select LVM and pick the last option) - I quite commonly use that, >> and would be surprised if I am alone in that. > > Sorry, I didn't express that very well. I know that people do partition / > and /usr separately; what I was going to say and then didn't is that the > *error* case is extremely unusual. In other words, if you can mount /, > you're probably going to be able to mount /usr, because it's generally on > the same disk. > > What's extremely unusual is a local / and a network-mounted /usr, or other > sorts of split situations where it's at all likely that mounting / would > succeed but mounting /usr would fail. > > The question, though, is can we express this requirement properly? We do > need to make sure that /usr is mounted before ssh is started, but we don't > really want to wait for mounting all the random other file systems that > someone might have. I did that once by just creating a ConditionFileExists on a file in /usr. It's a pretty dumb workaround, but it worked... (Maybe systemd has smarter methods for that case which I don't know of)
-- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caknhny-zwtwydawvo5ecdoapgvfxjggxp-2xy+tk46hhbde...@mail.gmail.com