root on raid device doesn't get /dev/disk/by-id/md-{name,uuid} symlinks after boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ubuntu@ubuntu:~$ lsb_release -rd
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.9.0-15-generic #16-Ubuntu SMP Fri Jan 20 15:28:49 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
ubuntu@ubuntu:~$ apt-cache policy systemd
systemd:
Installed: 232-8
Candidate: 232-8
Version table:
*** 232-8 500
500 http://
100 /var/lib/
3) root@ubuntu:~# ls -al /dev/disk/
lrwxrwxrwx 1 root root 9 Feb 10 19:42 /dev/disk/
lrwxrwxrwx 1 root root 9 Feb 10 19:42 /dev/disk/
4)root@ubuntu:~# ls -al /dev/disk/
Note, I can re-trigger events on md0 and the links will appear.
udevadm test $(udevadm info -q path -n /dev/md0)
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: udev 232-8
ProcVersionSign
Uname: Linux 4.9.0-15-generic ppc64le
.var.log.platform: Error: [Errno 13] Permission denied: '/var/log/platform'
ApportVersion: 2.20.4-0ubuntu1
Architecture: ppc64el
CustomUdevRuleF
Date: Fri Feb 10 19:38:42 2017
Lsusb: Error: command ['lsusb'] failed with exit code 1:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcLoadAvg: 0.32 0.17 0.06 1/146 6210
ProcLocks:
1: POSIX ADVISORY WRITE 5006 00:12:22238 0 EOF
2: POSIX ADVISORY WRITE 5015 00:12:22033 0 EOF
3: FLOCK ADVISORY WRITE 5007 00:12:22011 0 EOF
4: POSIX ADVISORY WRITE 4979 00:12:21491 0 EOF
5: POSIX ADVISORY WRITE 2643 00:12:13926 0 EOF
ProcSwaps:
Filename Type Size Used Priority
/swap.img file 1157056 0 -1
ProcVersion: Linux version 4.9.0-15-generic (buildd@
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 1
cpu_coreson: Number of cores online = 1
cpu_smt: Error: command ['ppc64_cpu', '--smt'] failed with exit code 255: Machine is not SMT capable
There are a lot of custom udev rules
CustomUdevRuleF iles: main_disk- part1.rules. rules third_disk. rules.rules md0.rules.rules second_ disk-part1. rules.rules second_ disk.rules. rules third_disk- part1.rules. rules main_disk- part2.rules. rules fourth_ disk.rules. rules fourth_ disk-part1. rules.rules main_disk. rules.rules
Can you attach them?
Are all of those included in the initramfs as well? (check with e.g. lsinitramfs)
The md-name and md-uuid symlinks are generated by the udev rules shipped by the mdadm package.