Note: This is after initramfs does its work successfully. Real root /etc/fstab entry: UUID="BD3B-03BD" /mnt/chuan vfat noatime 0 2 Status: # systemctl status mnt-chuan.mount ● mnt-chuan.mount - /mnt/chuan Loaded: loaded (/etc/fstab) Active: failed (Result: exit-code) since Sun 2015-07-12 17:28:55 PDT; 7min ago Where: /mnt/chuan What: /dev/disk/by-uuid/BD3B-03BD Docs: man:fstab(5) man:systemd-fstab-generator(8) Process: 1028 ExecMount=/bin/mount /dev/disk/by-uuid/BD3B-03BD /mnt/chuan -n -t vfat -o noatime (code=exited, status=219/CGROUP) Log (journalctl): Jul 12 17:28:55 limelight systemd[1]: Mounting /mnt/chuan... Jul 12 17:28:55 limelight systemd[1]: mnt-chuan.mount: Mount process exited, code=exited status=219 Jul 12 17:28:55 limelight systemd[1]: Failed to mount /mnt/chuan. Jul 12 17:28:55 limelight systemd[1]: mnt-chuan.mount: Unit entered failed state. Log around this time: Jul 12 17:28:54 limelight systemd[1]: Found device Silicon-Power16G CHUAN. Jul 12 17:28:54 limelight systemd[1]: Starting File System Check on /dev/disk/by-uuid/BD3B-03BD... ... Jul 12 17:28:55 limelight systemd[1]: Started File System Check on /dev/disk/by-uuid/BD3B-03BD. Jul 12 17:28:55 limelight systemd[1]: Mounting /mnt/chuan... Jul 12 17:28:55 limelight systemd[1028]: mnt-chuan.mount: Failed at step CGROUP spawning /bin/mount: No such file or directory Jul 12 17:28:55 limelight systemd[1]: mnt-chuan.mount: Mount process exited, code=exited status=219 Jul 12 17:28:55 limelight systemd[1]: Failed to mount /mnt/chuan. Jul 12 17:28:55 limelight systemd[1]: mnt-chuan.mount: Unit entered failed state. Workaround is to add nofail to options. Without that, systemd enters into emergency mode. Setting pass to 0 does not make things work either. Reproducible: Always Steps to Reproduce: 1. Have entry in /etc/fstab: UUID="XXXX-XXXX" /mnt/chuan vfat noatime 0 2 2. Boot Actual Results: Does not mount. Expected Results: Should mount. systemd-220-r2 worked fine with this line in fstab without nofail. # emerge --info sys-apps/systemd Portage 2.2.20 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo-limelight x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.0.5-gentoo-limelight-x86_64-Intel-R-_Core-TM-_i7-5930K_CPU_@_3.50GHz-with-gentoo-2.2 KiB Mem: 32831924 total, 21075988 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 12 Jul 2015 04:45:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://tatsh/gentoo-portage priority: -1000 jamiel-gentoo-overlay location: /var/lib/layman/jamiel-gentoo-overlay masters: gentoo priority: 0 tatsh-overlay location: /var/lib/layman/tatsh-overlay masters: gentoo priority: 1 java location: /var/lib/layman/java masters: gentoo priority: 2 vortex location: /var/lib/layman/vortex masters: gentoo priority: 3 srcshelton location: /var/lib/layman/srcshelton masters: gentoo priority: 4 Installed sets: @abiword, @ansible, @bashcomp, @beanstalk, @cdr, @chrome, @clang, @compass, @cups, @dracut, @driverside, @firefox, @gimp, @git, @grub, @ibus, @icedtea, @icewm, @kde4, @kde4-devel, @kdevelop, @libimobiledevice, @media, @misc, @mupen64plus, @mysql, @php, @php-xdebug, @pidgin, @portage-dev, @portage-utilities, @postgresql, @python, @rar, @rk-vpn, @rutorrent, @skype, @ssh, @stepmania, @tatshnet, @vagrant, @virtualbox, @vlc, @wine, @x11, @x11-misc, @xirvik-vpn ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -ggdb" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j13" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aes alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo cdio cjk cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss exif fam ffmpeg flac fma3 fortran gdbm gif glamor gpm iconv idn ipv6 jemalloc jpeg kde kipi lcms libnotify mad mmx mmxext modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds qt qt3support qt4 readline semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg syslog systemd tcpd tiff truetype udev udisks unicode upower vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="crypt crypt-gpg crypt-loop gensplash lvm ssh-client systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.4" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-apps/systemd-222::gentoo was built with the following: USE="acl cryptsetup idn kdbus kmod lz4 pam (policykit) seccomp ssl -apparmor -audit -curl -elfutils -gcrypt -gnuefi -http -importd -lzma -nat -qrcode (-selinux) -sysv-utils -terminal -test -vanilla -xkb" ABI_X86="32 64 -x32"
IIRC this partition contains a key for a LUKS device (bug 551532), thus it should be mounted inside initramfs. Maybe systemd tries to mount it second time after switching root? Could you provide a journal output (e.g. "journalctl -b")?
Yes, it is mounted again by real root because it is in my /etc/fstab there. I don't need it to be but I was concerned about unsafe unmounts of the disk due to switch root which just 'quits' (it seems anyway) and leaves the partition in dirty state. The goal of keeping it in my real root's fstab was getting the fsck at least, even if I had to unmount manually afterwards.
Is this still valid with systemd-225?
could you try with a newer version like 233? Thanks