https://bugzilla.novell.com/show_bug.cgi?id=805420 https://bugzilla.novell.com/show_bug.cgi?id=805420#c0 Summary: systemd doesn't order dependencies -- allowing localfs to exec before lvm finishes finding volumes Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@tlinx.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28 In a boot recently, I noted that lvm took a bit longer than normal and systemd didn't wait for it. It attempted to mount the local file systems -- only succeeding on those that were regular hard disk partitions. ... net.core.somaxconn = 8192 net.core.netdev_max_backlog = 3000000 net.ipv4.conf.eth0.proxy_arp = 1 net.ipv4.conf.eth1.proxy_arp = 1 net.ipv4.ip_forward = 0 done <notice -- Feb 17 11:38:57.933526000> service boot.sysctl done Starting udevd: done Loading drivers, configuring devices: <notice -- Feb 17 11:38:57.956211000> service boot.usr-mount done <--------------------/usr being mounted at boot done <notice -- Feb 17 11:39:00.38615000> service boot.udev done <notice -- Feb 17 11:39:00.39151000> service boot.loadmodules start <notice -- Feb 17 11:39:00.40231000> service boot.rootfsck start Loading required kernel modules done <notice -- Feb 17 11:39:00.61188000> service boot.loadmodules done Activating swap-devices in /etc/fstab... doneroot file system (/) is NOT being checked. <notice -- Feb 17 11:39:00.107218000> service boot.rootfsck done <notice -- Feb 17 11:39:00.111265000> service boot.cgroup start <notice -- Feb 17 11:39:00.120248000> service boot.clock start mounting cgroup file systems... cpuset debug cpu cpuacct devices freezer blkio net_priodone <notice -- Feb 17 11:39:00.257108000> service boot.cgroup done Set System Time to the current Hardware Clockdone <notice -- Feb 17 19:39:00.334317000> service boot.clock done <notice -- Feb 17 19:39:00.334838000> service boot.device-mapper start <notice -- Feb 17 19:39:00.340342000> service boot.localfs start <<localfs supposedly starts before devmapper finishes Activating device mapper...done <notice -- Feb 17 19:39:00.352882000> service boot.device-mapper done Waiting for /dev/Home+Space/Home /dev/Home+Space/Share /dev/Home+Space/Home.diff /dev/Media/Media /dev/Home+Space/Squid_Cache /dev/Backups/Backups /dev/Home+Space/Media_Back .............................. timeout! Checking file systems... fsck from util-linux 2.20.1 donedone Mounting local file systems... <<< try to mount local fs mount: /dev/sdc6 already mounted on /usr /dev/sdc2 on /var type xfs (rw,noatime,nodiratime,swalloc,largeio,logbsize=256k) /dev/sdc3 on /boot type xfs (rw,noatime,nodiratime,swalloc,largeio,allocsize=1m) /var/rtmp on /tmp type none (rw,bind) mount: special device /dev/Home+Space/Home does not exist mount: special device /dev/Home+Space/Share does not exist mount: special device /dev/Home+Space/Home.diff does not exist mount: special device /dev/Media/Media does not exist mount: special device /dev/Home+Space/Squid_Cache does not exist mount: special device /dev/Backups/Backups does not exist mount: mount point /backups/Media does not exist mount: special device /home/share does not exist /Media on /Media type none (rw,bind) failed <notice -- Feb 17 19:39:32.829649000> service boot.localfs done << localfs finish <notice -- Feb 17 19:39:32.830172000> service boot.cleanup start <notice -- Feb 17 19:39:32.842134000> service boot.klog start <notice -- Feb 17 19:39:32.845642000> service boot.localnet start <notice -- Feb 17 19:39:32.846799000> service boot.lvm start << !?!?! now boot.lvm?? <notice -- Feb 17 19:39:32.852691000> service setserial start <notice -- Feb 17 19:39:32.913597000> service setserial done <notice -- Feb 17 19:39:33.81793000> service boot.isapnp start <notice -- Feb 17 19:39:33.107182000> service boot.isapnp done <notice -- Feb 17 19:39:33.418268000> service boot.localnet done <notice -- Feb 17 19:39:33.442066000> service boot.cleanup done <notice -- Feb 17 19:39:33.442210000> service boot.sysstat start <notice -- Feb 17 19:39:33.612498000> killproc: kill(165,29) adding: boot-130217.1939 (deflated 79%) test of /var/log/boot.msg.zip OK done <notice -- Feb 17 19:39:33.613730000> service boot.klog done Running sadc done Cannot open font file lat1-08.psfu.gz /etc/init.d/boot.sysstat: line 55: /bin/unicode-start: No such file or directory FATAL: Module bond0 not found. Waiting for udev to settle... <<<< wait for udev to settle... Scanning for LVM volume groups... <<< now lvm scans for groups.... Reading all physical volumes. This may take a while... Found volume group "Media" using metadata type lvm2 Found volume group "Backups" using metadata type lvm2 Found volume group "Home+Space" using metadata type lvm2 Activating LVM volume groups... 1 logical volume(s) in volume group "Media" now active <notice -- Feb 17 19:39:33.819432000> service boot.sysstat done 1 logical volume(s) in volume group "Backups" now active 20 logical volume(s) in volume group "Home+Space" now active done <notice -- Feb 17 19:39:37.442276000> service boot.lvm done <<< boot.lvm done <notice -- Feb 17 19:39:37.449508000> service boot.swap start Activating remaining swap-devices in /etc/fstab... done <notice -- Feb 17 19:39:37.475149000> service boot.swap done <notice -- Feb 17 19:39:37.490474000> service boot.ldconfig start <notice -- Feb 17 19:39:37.503860000> service boot.ldconfig done System Boot Control: The system has been set up System Boot Control: Running /etc/init.d/boot.local Cannot open font file lat1-08.psfu.gz /etc/init.d/boot.local: line 29: unicode-start: command not found failed INIT: Entering runlevel: Master Resource Control: previous runlevel: N, switching to runlevel: 3 Reproducible: Always Steps to Reproduce: 1. slow down lvm somehow -- suggest opening multiple active snapshots (~5-6 should do it)....I had 1 active snap going at the time) 2. 3. Actual Results: lvm local file systems don't get mounted Expected Results: expect systemd to pay attention to pre-requisites at least as well as systemV bootup scripts -- should be better...it's more advanced. Note -- My system boots off of it's hard disk -- not a ram disk. Needed drivers are built-in. Additional note -- in order for /usr to be mounted at boot, 'mount' and any needed libraries need to reside in /bin and not be moved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.