fails on install due to systemd-service/sysv-service mismatch and lack of mkdir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-rtslib-fb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Utkarsh Gupta |
Bug Description
[Impact]
========
The python3-rtslib-fb package fails to install.
On install:
Setting up python3-rtslib-fb (2.1.74-0ubuntu1) ...
Job for rtslib-
See "systemctl status rtslib-
invoke-rc.d: initscript rtslib-
[0;1;31m●[0m rtslib-
Loaded: loaded (]8;;file:
Active: [0;1;31mfailed[0m (Result: exit-code) since Tue 2021-02-23 18:03:16 UTC; 10ms ago
Docs: ]8;;man:
Process: 3296 ExecStart=
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest rtslib-
Feb 23 18:03:16 autopkgtest systemd[1]: [0;1;39m
Feb 23 18:03:16 autopkgtest systemd[1]: [0;1;38;
Feb 23 18:03:16 autopkgtest systemd[1]: [0;1;31m
dpkg: error processing package python3-rtslib-fb (--configure):
installed python3-rtslib-fb package post-installation script subprocess returned error exit status 1
[Test Plan]
===========
To reproduce this bug, simply do the following:
$ lxc launch ubuntu-daily:groovy python-
$ lxc shell python-
[or shoot up a VM running Groovy]
# apt update && apt upgrade && apt install linux-modules-
# reboot
# apt install python3-rtslib-fb
...and this should fail to install.
To make sure that this bug is indeed fixed, install the patched version of this package and that should install fine.
Furthermore, check systemctl status rtslib-
[Where problems could occur]
=======
If someone has manually fixed the old service (manual mkdir, enable it, ...) or any such thing, then the fix might cause the update to behave a bit differently.
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 54 lines (+28/-4)3 files modifieddebian/changelog (+11/-0)
debian/python3-rtslib-fb.rtslib-fb-targetctl.service (+16/-0)
debian/rules (+1/-4)
- Lucas Kanashiro (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 51 lines (+25/-4)3 files modifieddebian/changelog (+9/-0)
debian/python3-rtslib-fb.rtslib-fb-targetctl.service (+15/-0)
debian/rules (+1/-4)
Changed in python-rtslib-fb (Ubuntu Groovy): | |
assignee: | nobody → Utkarsh Gupta (utkarsh) |
Changed in python-rtslib-fb (Ubuntu Groovy): | |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in python-rtslib-fb (Ubuntu Focal): | |
status: | Confirmed → Invalid |
P.S. I'm not sure how this evaded our detection on Sergio's merge in January nor in Groovy by Rafael. Maybe I'm mis-interpreting all the data ?