After LTS upgrade to 20.04 mdadm init.d are all broken links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upgraded a number of servers (more than 30) from various LTS versions to LTS 20.04
In each case that uses mdadm, all links for mdadm in /etc/rcX.d/*mdadm* are broken links.
Every upgraded server using mdadm matches the issue exactly, but choosing one server:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
mdadm:
Installed: 4.1-5ubuntu1.2
Easiest way to see the issue is to type:
# ls -lasd `find /etc | grep mdadm`
4 -rw-r--r-- 1 root root 831 Dec 15 22:36 /etc/default/mdadm
4 -rw-r--r-- 1 root root 3426 Feb 28 2014 /etc/logcheck/
4 -rw-r--r-- 1 root root 411 Feb 28 2014 /etc/logcheck/
4 drwxr-xr-x 2 root root 4096 Dec 15 22:36 /etc/mdadm
4 -rw-r--r-- 1 root root 982 Dec 15 22:36 /etc/mdadm/
4 -rw-r--r-- 1 root root 379 Jan 15 2020 /etc/modprobe.
0 lrwxrwxrwx 1 root root 15 Jul 3 2016 /etc/rc0.d/K01mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 24 Dec 15 22:11 /etc/rc0.
0 lrwxrwxrwx 1 root root 15 Jul 3 2016 /etc/rc1.d/K01mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 15 Dec 15 22:09 /etc/rc2.d/S03mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 15 Dec 15 22:09 /etc/rc3.d/S03mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 15 Dec 15 22:09 /etc/rc4.d/S03mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 15 Dec 15 22:09 /etc/rc5.d/S03mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 15 Jul 3 2016 /etc/rc6.d/K01mdadm -> ../init.d/mdadm
0 lrwxrwxrwx 1 root root 24 Dec 15 22:11 /etc/rc6.
Since init.d/mdadm and init.d/
- and in a colour terminal are all highlighted distinctly
All systems boot successfully, so I'm not sure if it is simply a cleanup issue during upgrade from 18.04 to 20.04, or if the files should exist?
However, a previous version desktop, which is:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
has init.d/mdadm and init.d/
affects: | linux (Ubuntu) → mdadm (Ubuntu) |
summary: |
- After LSB upgrade to 20.04 mdadm init.d are all broken links + After LTS upgrade to 20.04 mdadm init.d are all broken links |
description: | updated |