[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-06-24 Thread Billy Olsen
** Changed in: python-rtslib-fb (Ubuntu Focal)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-06-24 Thread Billy Olsen
Hi Christian,

Thanks for the feedback, I see the error I made here. I confused this
bug with bug #1865037, which actually adds the
ConditionVirtualization=!container directive to the service file but was
wrapped in the changelog. That's the change that needs to be made for
focal so I'll do some bug tidying here.

The recreate is simple - launch a new focal container and try to install
python3-rtslib-fb inside it, but I'll move this over to the proper bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-06-24 Thread Christian Ehrhardt 
Hi Billy,
thanks for the ping!

Before in comment #9 it was reported that our current
reproducer/testcase wasn't present on Bionic/Focal. Also some of the fix
was "make it as it was in focal" so soemthing is odd here.

Do you happen to have a non-charm based way to trigger the issue on
Focal that we could use to drive the fix into an SRU?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-06-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: python-rtslib-fb (Ubuntu Focal)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-06-23 Thread Billy Olsen
This also affects Focal installs and it affects openstack upgrades where
the cinder services are running in a container (see bug #1930455), and I
think we should backport this patch to Focal as well. I'm going to
nominate the series as such.

** Also affects: python-rtslib-fb (Ubuntu Focal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package python-rtslib-fb - 2.1.73-1ubuntu4.1

---
python-rtslib-fb (2.1.73-1ubuntu4.1) groovy; urgency=medium

  * Fix service fail on install due to name mismatch and lost mkdir
(LP: #1916715)
- d/python3-rtslib-fb.rtslib-fb-targetctl.service: add back debianized
  systemd service file.
- d/python3-rtslib-fb.rtslib-fb-targetctl.service: Add check to skip
  starting this service when running in a container (LP: #1865037).
- d/rules: install rtslib-fb-targetctl.service as it was in Focal.

 -- Utkarsh Gupta   Fri, 12 Mar 2021
15:52:34 +0530

** Changed in: python-rtslib-fb (Ubuntu Groovy)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-04-07 Thread Christian Ehrhardt 
#2 Container without modules installed

old:
● rtslib-fb-targetctl.service - LSB: Start LIO targets
 Loaded: loaded (/etc/init.d/rtslib-fb-targetctl; generated)
 Active: active (exited) since Wed 2021-04-07 06:14:25 UTC; 8s ago
   Docs: man:systemd-sysv-generator(8)
  Tasks: 0 (limit: 38268)
 Memory: 0B
 CGroup: /system.slice/rtslib-fb-targetctl.service

Apr 07 06:14:25 python-rtslib-fb-lp1916715-groovy systemd[1]: Starting LSB: 
Start LIO targets...
Apr 07 06:14:25 python-rtslib-fb-lp1916715-groovy rtslib-fb-targetctl[1193]: 
modprobe: FATAL: Module configfs not found in directory 
/lib/modules/5.4.0-70-generic
Apr 07 06:14:25 python-rtslib-fb-lp1916715-groovy rtslib-fb-targetctl[1187]: 
Could not load configfs module: exiting!
Apr 07 06:14:25 python-rtslib-fb-lp1916715-groovy systemd[1]: Started LSB: 
Start LIO targets.


new:
root@python-rtslib-fb-lp1916715-groovy-fixed:~# systemctl status 
rtslib-fb-targetctl.service
● rtslib-fb-targetctl.service - Restore LIO kernel target configuration
 Loaded: loaded (/lib/systemd/system/rtslib-fb-targetctl.service; enabled; 
vendor preset: enabled)
 Active: inactive (dead)

Apr 07 06:14:26 python-rtslib-fb-lp1916715-groovy-fixed systemd[1]:
Condition check resulted in Restore LIO kernel target configuration
being skipped.


=> better error message, no degradation



#2 VM with kernel properly in place for LIO:


old:
ubuntu@g-1916715:~$ sudo apt install python3-rtslib-fb
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  python3-pyudev
The following NEW packages will be installed:
  python3-pyudev python3-rtslib-fb
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 86.0 kB of archives.
After this operation, 639 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu groovy/main amd64 python3-pyudev all 
0.21.0-3ubuntu1 [37.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu groovy/main amd64 python3-rtslib-fb all 
2.1.73-1ubuntu4 [48.9 kB]
Fetched 86.0 kB in 0s (546 kB/s)
Selecting previously unselected package python3-pyudev.
(Reading database ... 73160 files and directories currently installed.)
Preparing to unpack .../python3-pyudev_0.21.0-3ubuntu1_all.deb ...
Unpacking python3-pyudev (0.21.0-3ubuntu1) ...
Selecting previously unselected package python3-rtslib-fb.
Preparing to unpack .../python3-rtslib-fb_2.1.73-1ubuntu4_all.deb ...
Unpacking python3-rtslib-fb (2.1.73-1ubuntu4) ...
Setting up python3-pyudev (0.21.0-3ubuntu1) ...
Setting up python3-rtslib-fb (2.1.73-1ubuntu4) ...
Job for rtslib-fb-targetctl.service failed because the control process exited 
with error code.
See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xe" for 
details.
invoke-rc.d: initscript rtslib-fb-targetctl, action "start" failed.
● rtslib-fb-targetctl.service - LSB: Start LIO targets
 Loaded: loaded (/etc/init.d/rtslib-fb-targetctl; generated)
 Active: failed (Result: exit-code) since Wed 2021-04-07 06:25:13 UTC; 8ms 
ago
   Docs: man:systemd-sysv-generator(8)
Process: 1327 ExecStart=/etc/init.d/rtslib-fb-targetctl start (code=exited, 
status=1/FAILURE)

Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]: errors = 
RTSRoot().restore_from_file(restore_file=from_file)
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]:   File 
"/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 88, in __init__
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]: self._set_dbroot()
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]:   File 
"/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 182, in _set_dbroot
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]: raise 
RTSLibError("Cannot set dbroot to {}. Please check if this directory exists."
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1339]: 
rtslib_fb.utils.RTSLibError: Cannot set dbroot to /etc/rtslib-fb-target. Please 
check if this directory exists.
Apr 07 06:25:13 g-1916715 rtslib-fb-targetctl[1327]:...fail!
Apr 07 06:25:13 g-1916715 systemd[1]: rtslib-fb-targetctl.service: Control 
process exited, code=exited, status=1/FAILURE
Apr 07 06:25:13 g-1916715 systemd[1]: rtslib-fb-targetctl.service: Failed with 
result 'exit-code'.
Apr 07 06:25:13 g-1916715 systemd[1]: Failed to start LSB: Start LIO targets.
dpkg: error processing package python3-rtslib-fb (--configure):
 installed python3-rtslib-fb package post-installation script subprocess 
returned error exit status 1
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for systemd (246.6-1ubuntu1.3) ...
Errors were encountered while processing:
 python3-rtslib-fb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@g-1916715:~$ systemctl status rtslib-fb-targetctl.service
● rtslib-fb-targetctl.service - LSB: Start LIO targets
 Loaded: loaded (/etc/init.d/rtslib-fb-targetctl; generated)
 

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-23 Thread Brian Murray
Hello Christian, or anyone else affected,

Accepted python-rtslib-fb into groovy-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/python-
rtslib-fb/2.1.73-1ubuntu4.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: python-rtslib-fb (Ubuntu Groovy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-15 Thread Utkarsh Gupta
Fix for Groovy is up already and should soon be uploaded (hopefully!).
And this isn't really reproducible on Bionic or Focal. They seem to be
installing just fine with `systemctl status rtslib-fb-targetctl.service`
looking alright as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-12 Thread Utkarsh Gupta
** Description changed:

+ [Impact]
+ 
+ The python3-rtslib-fb package fails to install.
+ 
  On install:
  
  Setting up python3-rtslib-fb (2.1.74-0ubuntu1) ...
  Job for rtslib-fb-targetctl.service failed because the control process exited 
with error code.
  See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xe" for 
details.
  invoke-rc.d: initscript rtslib-fb-targetctl, action "start" failed.
  ● rtslib-fb-targetctl.service - LSB: Start LIO targets
       Loaded: loaded 
(]8;;file://autopkgtest/etc/init.d/rtslib-fb-targetctl/etc/init.d/rtslib-fb-targetctl]8;;;
 generated)
       Active: failed (Result: exit-code) since Tue 2021-02-23 
18:03:16 UTC; 10ms ago
         Docs: 
]8;;man:systemd-sysv-generator(8)man:systemd-sysv-generator(8)]8;;
      Process: 3296 ExecStart=/etc/init.d/rtslib-fb-targetctl start 
(code=exited, status=1/FAILURE)
  
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]:     errors = 
RTSRoot().restore_from_file(restore_file=from_file)
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]:   File 
"/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 88, in __init__
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]:     self._set_dbroot()
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]:   File 
"/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 182, in _set_dbroot
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]:     raise 
RTSLibError("Cannot set dbroot to {}. Please check if this directory exists."
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3308]: 
rtslib_fb.utils.RTSLibError: Cannot set dbroot to /etc/rtslib-fb-target. Please 
check if this directory exists.
  Feb 23 18:03:16 autopkgtest rtslib-fb-targetctl[3296]:    ...fail!
  Feb 23 18:03:16 autopkgtest systemd[1]: 
rtslib-fb-targetctl.service: Control process exited, 
code=exited, status=1/FAILURE
  Feb 23 18:03:16 autopkgtest systemd[1]: 
rtslib-fb-targetctl.service: Failed with 
result 'exit-code'.
  Feb 23 18:03:16 autopkgtest systemd[1]: Failed to 
start LSB: Start LIO targets.
  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-rtslib-fb-lp1916715-groovy
+ 
+ $ lxc shell python-rtslib-fb-lp1916715-groovy
+ 
+ [or shoot up a VM running Groovy]
+ 
+ # apt update && apt upgrade && apt install linux-modules-
+ extra-5.8.0-44-generic
+ 
+ # 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.
  
- ^^ this affects Groovy and Focal ^^
- 
- The reason is this:
- $ dpkg -L python3-rtslib-fb
- /etc/init.d/rtslib-fb-targetctl
- /lib/systemd/system/target.service
+ Furthermore, check systemctl status rtslib-fb-targetctl.service and that
+ should not report any problems.
  
  
- This used to be (Focal and Debian)
- /etc/init.d/rtslib-fb-targetctl
- /lib/systemd/system/rtslib-fb-targetctl.service
+ [Where problems could occur]
  
- 
- That has two issues
- 1) since the name of service and sysv-init mismatches the sysV generator 
creates an extra service from the sysV script
- 2) the service does no more contain the mkdir that is required (and was in 
Focal/Debian)
-   ExecStart=mkdir -p /etc/rtslib-fb-target
- 
- We can merge back what we had, and thereby fix Hirsute.
- I'm not sure on a groovy SRU - if someone has manually fixed the old service 
(manual mkdir, enable it, ...) or any such then the fix will remove 
target.service and things will behave differently.
- But fixing in Hirsute be better in any case and also help 20.04 -> 22.04 
upgrades to have no hiccup.
+ 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.

** Description changed:

  [Impact]
+ 
  
  The python3-rtslib-fb package fails to install.
  
  On install:
  
  Setting up python3-rtslib-fb (2.1.74-0ubuntu1) ...
  Job for rtslib-fb-targetctl.service failed because the control process exited 
with error code.
  See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xe" for 
details.
  invoke-rc.d: initscript rtslib-fb-targetctl, action "start" failed.
  ● rtslib-fb-targetctl.service - LSB: Start LIO targets
       Loaded: loaded 
(]8;;file://autopkgtest/etc/init.d/rtslib-fb-targetctl/etc/init.d/rtslib-fb-targetctl]8;;;
 generated)
       Active: failed (Result: exit-code) since Tue 2021-02-23 
18:03:16 UTC; 10ms ago
         Docs: 
]8;;man:systemd-sysv-generator(8)man:systemd-sysv-generator(8)]8;;
     

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-12 Thread Utkarsh Gupta
** Changed in: python-rtslib-fb (Ubuntu Groovy)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-12 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~utkarsh/ubuntu/+source/python-rtslib-fb/+git/python-rtslib-fb/+merge/399576

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-12 Thread Utkarsh Gupta
Hi Sergio,

> As you can read there, I did check if the package installed/uninstalled
> correctly. Bryce also double-checked it. I don't know if the problem
> is that we forgot to check if the systemd service file was up or not,
> or something else. But then again, the error you posted happens right
> at the installation step, so we would have caught that. I'm puzzled [..]

If you do a fresh install of this package in a fresh LXC container,
you'll not be able to reproduce this. It needs the configfs kernel
module, which is provided by linux-modules-extra-5.8.0-44-generic (in
groovy; versions differ and so would the package name in other
releases).

Once you install that and then try to install python3-rtslib-fb, you'd
then be able to reproduce this error. So I believe you were missing the
configfs module and hence the install appeared to be fine.

I am just letting you know so maybe you can check these things the next time or 
so! \o/
(but very likely I'd have missed this myself; only this bug report made me look 
deeper)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-07 Thread Utkarsh Gupta
Hi Christian,

> @Utkarsh is this still on your list of things to look at (at least
> for groovy)? If you do so could you double check if bionic (or Focal)
> needs a helping hand as well?

Absolutely, shall do. I intend to get this done by this week.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-07 Thread Christian Ehrhardt 
Thanks Adam for your input, this is absolutely worth to consider where
we apply the change.

But you mentioned Bionic where we only have old style init in the form
of /etc/init.d/rtslib-fb-targetctl and IIRC that wasn't affected by the
same issue.

@Utkarsh is this still on your list of things to look at (at least for
groovy)? If you do so could you double check if bionic (or Focal) needs
a helping hand as well?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-03-05 Thread Adam Dyess
This change didn't work for me in bionic
because of this:


/lib/systemd/system/rtslib-fb-targetctl.service:9: Executable path is not 
absolute: mkdir -p /etc/rtslib-fb-target


i had to change this:
ExecStart=mkdir -p /etc/rtslib-fb-target

to this:
ExecStart=/bin/mkdir -p /etc/rtslib-fb-target

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-25 Thread Christian Ehrhardt 
** Changed in: python-rtslib-fb (Ubuntu Groovy)
 Assignee: (unassigned) => Utkarsh Gupta (utkarsh)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-24 Thread Christian Ehrhardt 
We'd want to fix groovy as well I guess, adding server-next tag.

** Also affects: python-rtslib-fb (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Tags added: server-next

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-24 Thread Launchpad Bug Tracker
This bug was fixed in the package python-rtslib-fb - 2.1.74-0ubuntu2

---
python-rtslib-fb (2.1.74-0ubuntu2) hirsute; urgency=medium

  * Fix service fail on install due to name mismatch and lost mkdir (LP: 
#1916715)
- d/python3-rtslib-fb.rtslib-fb-targetctl.service: add back debianized
  systemd service file
- d/rules: install rtslib-fb-targetctl.service as it was in Focal

 -- Christian Ehrhardt   Wed, 24 Feb
2021 09:32:35 +0100

** Changed in: python-rtslib-fb (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-24 Thread Sergio Durigan Junior
This is strange, indeed.  The MP for the merge is:

https://code.launchpad.net/~sergiodj/ubuntu/+source/python-rtslib-
fb/+git/python-rtslib-fb/+merge/397174

As you can read there, I did check if the package installed/uninstalled
correctly.  Bryce also double-checked it.  I don't know if the problem
is that we forgot to check if the systemd service file was up or not, or
something else.  But then again, the error you posted happens right at
the installation step, so we would have caught that.  I'm puzzled, and I
apologize for not having seen this before.  Thanks for taking care of
this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-24 Thread Christian Ehrhardt 
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
?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1916715] Re: fails on install due to systemd-service/sysv-service mismatch and lack of mkdir

2021-02-24 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~paelzer/ubuntu/+source/python-rtslib-fb/+git/python-rtslib-fb/+merge/398588

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916715

Title:
  fails on install due to systemd-service/sysv-service mismatch and lack
  of mkdir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/1916715/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs