[systemd-devel] I wonder… why systemd provokes this amount of polarity and resistance

Daniele Nicolodi daniele at grinta.net
Tue Oct 28 08:34:18 PDT 2014


On 28/10/14 16:28, Dale R. Worley wrote:
>> From: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
>>
>> That mostly applies to people who actually don't use systemd and are
>> commenting from the peanut gallery. Actual *users* when they are unhappy
>> are unhappy about bugs.
> 
> That is not entirely true.  I'm a user (because systemd is in Fedora
> 19), and I've complained that if I mark an /etc/fstab entry as
> "nofail", some part of systemd will wait *forever* to see if the
> partition becomes available, whereas the behavior that I want (which
> was provided in earlier Fedora releases) is that once the system
> gets to the point of user logins, it will give up on automatic booting
> (and leave it to manual control).
> 
> I've not received any useful feedback on how to customize my system to
> behave that way, and no indication that there is any intention to add
> it as a feature.
> 
> So it is clear that this is not a "bug", as it is the behavior
> intended by the designers, but I'm still not happy.

What you write above is not entirely true either:

On 22/10/14 20:55, Lennart Poettering wrote:> On Fri, 12.09.14 15:25,
Dale R. Worley (worley at alum.mit.edu) wrote:
>
>>> From: Tobias Geerinckx-Rice <tobias.geerinckx.rice at gmail.com>
>>
>>> Step back, and define exactly what it is you actually need^Wwant to do.
>>
>> For a certain entry in /etc/fstab (which will in practice always have
>> the option "nofail"), if the device is not available "until booting is
>> over" (which I'm willing to denote with a specified period of time),
>> after that, it will not be automatically mounted if it becomes
>> available.
>
> This is currently not available, and it sounds very special and racy
> to support it upstream I think. Sorry!
>
> If you want to hack something up like this, I'd recommend writing a
> timer unit/cronjob that creates a file $PATH after $SECONDS after
boot. Then, add
> a drop-in file to /etc/systemd/system/$MOUNTUNIT.d/foobar.conf, and
> write into it:
>
> [Unit]
> ConditionFileExists=!/the/file/you/create
>
> That way the mount unit will always be queued, but will actually be
> conditionalized out $SECONDS after boot, if you follow what I mean.
>
> Hope this is helpful.
>
> Lennart

Cheers,
Daniele


More information about the systemd-devel mailing list