<div dir="ltr">Package: systemd<br><div>Version: 229-2<br></div><div><br></div><div>Including a slash (/) in a partition label leads to systemd not being able to check the partition for errors. This in turn lead to problems accessing the partition (with no obvious acknowledgement of problems to the user). I and perhaps others dealing with this bug may erroneously suspect hard disk issues.</div><div><br></div><div>I was able to work around this bug by removing the slashes from the labels of the relevant partition.</div><div><br></div><div>I am able to reproduce the bug with the following steps:</div><div>1) Create a new partition with label "/test". (I used gnome-disks.)</div><div>2) Format the partition with ext4.</div><div>3) Add the following line to /etc/fstab:</div><div>LABEL="/test"<span class="" style="white-space:pre">       </span>/junk/test<span class="" style="white-space:pre">        </span>ext4<span class="" style="white-space:pre">      </span>noauto,x-systemd.automount<span class="" style="white-space:pre">        </span>1<span class="" style="white-space:pre"> </span>2<br></div><div>4) Run the following commands as root:</div><div><div>mkdir -p /junk/test</div><div>cd junk</div><div>mount test</div><div>touch test/forcefsck</div></div><div>5) Reboot.</div><div>6) Then from a terminal:</div><div>cd /junk<br></div><div>cd test/<br></div><div>The last command hangs until control-c is pressed when the following error is produced:</div><div>^X^C^Cbash: cd: test/: Interrupted system call<br></div><div><br></div><div>(Doing other commands such as listing directories results in a situation when even control-c won't return you to the shell.)</div><div><br></div><div>"grep test /var/log/daemon.log" returns:</div><div><div>Mar 13 23:12:45 panther systemd[1]: junk-test.automount: Got automount request for /junk/test, triggered by 2380 (bash)</div><div>Mar 13 23:12:45 panther systemd[1]: Starting File System Check on /dev/disk/by-label/\x2ftest...</div><div>Mar 13 23:12:45 panther systemd-fsck[2481]: Failed to stat /dev/disk/by-label//test: No such file or directory</div><div>Mar 13 23:12:45 panther systemd[1]: systemd-fsck@dev-disk-by\x2dlabel-\x5cx2ftest.service: Main process exited, code=exited, status=1/FAILURE</div><div>Mar 13 23:12:45 panther systemd[1]: Failed to start File System Check on /dev/disk/by-label/\x2ftest.</div><div>Mar 13 23:12:45 panther systemd[1]: Dependency failed for /junk/test.</div><div>Mar 13 23:12:45 panther systemd[1]: junk-test.mount: Job junk-test.mount/start failed with result 'dependency'.</div><div>Mar 13 23:12:45 panther systemd[1]: systemd-fsck@dev-disk-by\x2dlabel-\x5cx2ftest.service: Unit entered failed state.</div><div>Mar 13 23:12:45 panther systemd[1]: systemd-fsck@dev-disk-by\x2dlabel-\x5cx2ftest.service: Failed with result 'exit-code'.</div></div><div><br></div><div>I am running Debian testing and have been for quite a while. So, this bug must be fairly new. </div><div><br></div><div>What follows below is some output of reportbug. Please let me know if you want more information. Thank you for your work!</div><div><br>Best,</div><div>Pat</div><div><br></div><div><div>-- System Information:</div><div>Debian Release: stretch/sid</div><div>  APT prefers testing</div><div>  APT policy: (500, 'testing')</div><div>Architecture: amd64 (x86_64)</div><div>Foreign Architectures: i386</div><div><br></div><div>Kernel: Linux 4.3.0-1-amd64 (SMP w/12 CPU cores)</div><div>Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div>Init: systemd (via /run/systemd/system)</div><div><br></div><div>Versions of packages systemd depends on:</div><div>ii Â adduser Â  Â  Â  Â  3.113+nmu3</div><div>ii Â libacl1 Â  Â  Â  Â  2.2.52-3</div><div>ii Â libapparmor1 Â  Â 2.10-3+b1</div><div>ii Â libaudit1 Â  Â  Â  1:2.4.5-1+b1</div><div>ii Â libblkid1 Â  Â  Â  2.27.1-4</div><div>ii Â libc6 Â  Â  Â  Â  Â  2.21-9</div><div>ii Â libcap2 Â  Â  Â  Â  1:2.24-12</div><div>ii Â libcap2-bin Â  Â  1:2.24-12</div><div>ii Â libcryptsetup4 Â 2:1.7.0-2</div><div>ii Â libgcrypt20 Â  Â  1.6.5-2</div><div>ii Â libgpg-error0 Â  1.21-2</div><div>ii Â libkmod2 Â  Â  Â  Â 22-1</div><div>ii Â liblzma5 Â  Â  Â  Â 5.1.1alpha+20120614-2.1</div><div>ii Â libmount1 Â  Â  Â  2.27.1-4</div><div>ii Â libpam0g Â  Â  Â  Â 1.1.8-3.2</div><div>ii Â libseccomp2 Â  Â  2.2.3-3</div><div>ii Â libselinux1 Â  Â  2.4-3+b1</div><div>ii Â libsystemd0 Â  Â  229-2</div><div>ii Â mount Â  Â  Â  Â  Â  2.27.1-4</div><div>ii Â util-linux Â  Â  Â 2.27.1-4</div><div><br></div><div>Versions of packages systemd recommends:</div><div>ii Â dbus Â  Â  Â  Â  Â  Â 1.10.6-1</div><div>ii Â libpam-systemd Â 229-2</div><div><br></div><div>Versions of packages systemd suggests:</div><div>pn Â systemd-container Â <none></div><div>pn Â systemd-ui Â  Â  Â  Â  <none></div><div><br></div><div>Versions of packages systemd is related to:</div><div>ii Â udev Â 229-2</div><div><br></div><div>-- no debconf information</div></div><div><br></div><div><br></div><div><br></div></div>