View previous topic :: View next topic |
Author |
Message |
guido.hatzsis n00b
Joined: 10 Jul 2015 Posts: 51
|
Posted: Fri Oct 23, 2015 9:23 am Post subject: systemd bitches about root device /dev/md/root |
|
|
i have my root partition setup on an a raid device. I mount this as /dev/md/root as this is the name of the raid device. Even though this is a symlink to something in /dev/md/12x. The system works fine but it systemd keeps on complaining about not being able to stat the symlink.
[code] systemd[611]: Failed to stat device node file /dev/md/root: Permission denied[/code]
Is there anyway to silence systemd? |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Wed Nov 04, 2015 6:36 am Post subject: |
|
|
Check the permissions of that inode. |
|
Back to top |
|
|
guido.hatzsis n00b
Joined: 10 Jul 2015 Posts: 51
|
Posted: Mon Nov 23, 2015 8:34 pm Post subject: |
|
|
Thanks for that tip. /dev/md is created with perms 700 and is owned by root. I didn't realize that the actual message was coming from the systemd-user thing. |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Mon Nov 23, 2015 8:59 pm Post subject: |
|
|
What if you stick to /dev/md0 instead of /dev/md/name style?
(in your mdadm.conf, initramfs, and everywhere else)
The name style is not particularly common.
Also, mdadm.conf entries should only have '/dev/mdX UUID=a:b:c:d', not '/dev/md/X name= metadata=' etc. |
|
Back to top |
|
|
|