Re: systemd, fstab, noauto and nofail
Jonas Smedegaard <dr@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.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to:
- References:
- Bug#769907: general: non-sysvinit init systems are made of fail
- From: Michal Suchanek <hramrach@gmail.com>
- Re: Bug#769907: general: non-sysvinit init systems are made of fail
- From: Noel Torres <envite@rolamasao.org>
- Re: systemd, fstab, noauto and nofail
- From: Simon McVittie <smcv@debian.org>
- Re: systemd, fstab, noauto and nofail
- From: Noel Torres <envite@rolamasao.org>
- Re: systemd, fstab, noauto and nofail
- From: Russ Allbery <rra@debian.org>
- Re: systemd, fstab, noauto and nofail
- From: Adam Borowski <kilobyte@angband.pl>
- Re: systemd, fstab, noauto and nofail
- From: Russ Allbery <rra@debian.org>
- Re: systemd, fstab, noauto and nofail
- From: Jonas Smedegaard <dr@jones.dk>