[Bug 1830169] Re: lvm udev rule fails to call systemd-run
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu May 23 10:33:12 UTC 2019
On fresh disco and up installations this "just works" due to /usr-merge
by default.
On prior releases bin dir is configurable at lvm build time, which we
set to /bin (as that's where we want lvm2 utils to end up), but that's
not the location of systemd-run.
Needs a manual patch to lvm2, to support split-/usr systems (older
releases & upgraded systems)
** Package changed: systemd (Ubuntu) => lvm2 (Ubuntu)
** Also affects: lvm2 (Ubuntu Disco)
Importance: Undecided
Status: New
** Also affects: lvm2 (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: lvm2 (Ubuntu Eoan)
Importance: Undecided
Assignee: Skipper Bug Screeners (skipper-screen-team)
Status: New
** Also affects: lvm2 (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: lvm2 (Ubuntu Cosmic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1830169
Title:
lvm udev rule fails to call systemd-run
Status in Ubuntu on IBM z Systems:
Triaged
Status in lvm2 package in Ubuntu:
New
Status in lvm2 source package in Xenial:
New
Status in lvm2 source package in Bionic:
New
Status in lvm2 source package in Cosmic:
New
Status in lvm2 source package in Disco:
New
Status in lvm2 source package in Eoan:
New
Bug description:
In /lib/udev/rules.d/69-lvm-metad.rules file, it calls /bin/systemd-run command during removal -------
ACTION!="remove", ENV{LVM_PV_GONE}=="1", RUN+="/bin/systemd-run /sbin/lvm pvscan --cache $major:$minor", GOTO="lvm_end"
But /bin/systemd-run is not found, in fact systemd-run is in /usr/bin
/systemd-run.
xxxxxxxxxx:~$ cat /etc/issue
Ubuntu 18.04.2 LTS \n \l
xxxxxxxxxx:~$ ls /bin/systemd-run
ls: cannot access '/bin/systemd-run': No such file or directory
xxxxxxxxxx:~$ ls /usr/bin/systemd-run
/usr/bin/systemd-run
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1830169/+subscriptions
More information about the foundations-bugs
mailing list