Bug#748056: systemd: can't boot properly when unable to mount a hibernated NTFS partition
Nikita Pichugin
pichuginn at gmail.com
Tue May 13 21:19:11 BST 2014
Hello,
Thank you for pointing that out! By the way, fstab man page says that
nofail means "do not report errors for this device if it does not exist",
although the HDD partition obviously always exists. I also thought that
nofail was meant to be used for things like removable devices, not for
"marking vital partitions".
Well, if systemd is designed to behave like that, then this report should
be closed, of course. Thanks for your time again.
2014-05-13 19:12 GMT+00:00 Michael Biebl <biebl at debian.org>:
> Am 13.05.2014 22:57, schrieb Nikita Pichugin:
> > Package: systemd
> > Version: 204-10
> > Severity: important
> >
> > Dear Maintainer,
> >
> > I use a dualboot machine with Debian and Windows 8. I want the windows
> > partition to automount on boot, so I added it to the /etc/fstab. The
> problem is
> > that I can't boot into Debian after a shutdown (not reboot!) from
> Windows: all
> > I get is an emergency console. I looked into the journal log and found
> that
> > Debian couldn't mount the windows partition, because Windows was
> hibernated (it
> > turned out that Windows 8 use "hybrid shutdown" by default). If I turn
> off the
> > "hybrid shutdown" in Windows, then everything works as expected.
> > I think that unability to mount a partition shouldn't break the boot
> like that.
> > I'd expect a non-critical error or warning or something like that, but
> > definitely not an emergency console.
>
> How is systemd supposed to know, if the given partition is vital for the
> system to function properly?
> Continuing to boot might lead to subtle failures, data loss etc which
> can be hard to debug. I personally consider it a bug, that sysvinit
> continued to boot in that case.
>
> If the partition is not vital for the system, mark it as nofail [0].
>
> Michael
>
> [0] man fstab
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140513/f99d150c/attachment-0002.html>
More information about the Pkg-systemd-maintainers
mailing list