Discussion:
Bug#946882: blk-availability.service: may fail or unmount filesystems too soon
Add Reply
Ivo De Decker
2021-02-06 00:10:01 UTC
Reply
Permalink
Control: tags -1 patch
Control: retitle -1 blkdeactive hardcodes wrong path to sort
On systems upgraded from stretch and without the usrmerge package installed,
/sbin/blkdeactivate (ExecStop= of blk-availability.service) gives the
blkdeactivate[12003]: /sbin/blkdeactivate: line 345: /bin/sort: No such file or directory
It seems blkdeactive hardcodes /bin/sort as path to sort, while the correct
path to sort is /usr/bin/sort (which is different on non-usrmerged systems).

Obvious patch to fix this attached.

Cheers,

Ivo
Debian Bug Tracking System
2021-02-06 00:10:01 UTC
Reply
Permalink
Post by Ivo De Decker
tags -1 patch
Bug #946882 [lvm2] blk-availability.service: may fail or unmount filesystems too soon
Added tag(s) patch.
Post by Ivo De Decker
retitle -1 blkdeactive hardcodes wrong path to sort
Bug #946882 [lvm2] blk-availability.service: may fail or unmount filesystems too soon
Changed Bug title to 'blkdeactive hardcodes wrong path to sort' from 'blk-availability.service: may fail or unmount filesystems too soon'.
--
946882: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946882
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2021-02-22 22:30:02 UTC
Reply
Permalink
Your message dated Mon, 22 Feb 2021 22:18:51 +0000
with message-id <E1lEJXX-0003Je-***@fasolo.debian.org>
and subject line Bug#946882: fixed in lvm2 2.03.11-2.1
has caused the Debian Bug report #946882,
regarding blkdeactive hardcodes wrong path to sort
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
946882: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946882
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...