You are not logged in.

#1 2012-08-18 05:37:24

nixpunk
Member
Registered: 2009-11-23
Posts: 271

[solved] Systemd Issue / Question (Slashes using labels in fstab)

So I switched over to systemd and had issues using labels in fstab (dependency failed for home).  I switched to UUIDs, and problem solved.  Is this a known issue, or has anyone else had the same issue?  I used the systemd wiki article as reference and didn't see anything negative regarding using labels in fstab.

Last edited by nixpunk (2012-08-18 22:22:59)

Offline

#2 2012-08-18 19:26:06

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Here is my original fstab if anyone is curious:

# 
# /etc/fstab: static file system information
#
#<file system>     <dir>     <type>   <options>                   <dump><pass>
tmpfs                  /tmp          tmpfs        nodev,nosuid                  0         0
# /dev/sda2 UUID=282d88d6-8967-4b8f-8fda-5813c4e02961
LABEL=/            /         ext4     rw,noatime,data=ordered       0     1

# /dev/sda1 UUID=408ed56b-111b-44e9-b6df-7a10c5aacfaf
LABEL=/boot        /boot     ext2     rw,noatime                    0     2

# /dev/sda3 UUID=4d49e094-d6d7-45db-8667-6d8d88f30ab9
LABEL=/var         /var      reiserfs rw,noatime,notail             0     2

# /dev/sda4 UUID=9c00b759-b5ae-4c83-ac3e-ab2ffef58852
LABEL=/home        /home     ext4     rw,noatime,data=ordered       0     2

Offline

#3 2012-08-18 19:34:01

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Are you sure your labels start with slashes?

Offline

#4 2012-08-18 20:13:47

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Absolutely.  That fstab worked perfectly on a clean Arch install using Sysv.  That's the weird part.

Last edited by nixpunk (2012-08-18 20:14:00)

Offline

#5 2012-08-18 20:51:03

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Seems like a bug specific to labels containing slashes.

Offline

#6 2012-08-18 20:53:58

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Let me try without slashes and if it works, I will file a report.

Offline

#7 2012-08-18 22:21:37

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

That was it.  Nice catch.

Offline

#8 2012-08-20 23:07:31

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Offline

#9 2012-08-21 23:45:38

nixpunk
Member
Registered: 2009-11-23
Posts: 271

Re: [solved] Systemd Issue / Question (Slashes using labels in fstab)

Reported the bug on 2012-08-18 as well.  Thanks again!

https://bugs.freedesktop.org/show_bug.cgi?id=53689

Offline

Board footer

Powered by FluxBB