[pkg-lxc-devel] Bug#1107534: lxc: initscript does not exit cleanly once package removed
    Andrew Bower 
    andrew at bower.uk
       
    Sun Jun  8 23:30:00 BST 2025
    
    
  
Package: lxc
Version: 1:6.0.3-1
Severity: minor
Dear Maintainer,
If lxc is uinstalled, its initscripts fail with an error code instead of
exiting quitely as required by Debian policy 9.3.2:
  startpar: service(s) returned failure: lxcfs lxc lxc-net ... failed!
The usual way to handle this is with a quick check for the presence of the
relevant executable near the start and calling 'exit 0' if not present.
Thanks,
Andrew
-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 6.10.12-686 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lxc depends on:
ii  debconf [debconf-2.0]        1.5.91
ii  dnsmasq-base [dnsmasq-base]  2.91-1
ii  iproute2                     6.15.0-1
ii  iptables                     1.8.11-2
ii  libapparmor1                 4.1.0-1
ii  libc6                        2.41-8
ii  libcap2                      1:2.75-8
ii  libdbus-1-3                  1.16.2-2
ii  libgcc-s1                    14.2.0-19
ii  liblxc-common                1:6.0.4-4
ii  liblxc1t64                   1:6.0.4-4
ii  libseccomp2                  2.6.0-2
ii  libselinux1                  3.8.1-1
ii  nftables                     1.1.2-1
Versions of packages lxc recommends:
pn  apparmor       <none>
ii  debootstrap    1.0.141
ii  dirmngr        2.4.7-21
ii  distrobuilder  3.2-2+b2
ii  gnupg          2.4.7-21
ii  libpam-cgfs    1:6.0.4-4
pn  lxcfs          <none>
ii  openssl        3.5.0-2
ii  rsync          3.4.1+ds1-3
ii  uidmap         1:4.17.4-2
ii  wget           1.25.0-2
Versions of packages lxc suggests:
ii  btrfs-progs    6.14-1
pn  criu           <none>
ii  lvm2           2.03.31-2
pn  lxc-templates  <none>
pn  python3-lxc    <none>
    
    
More information about the Pkg-lxc-devel
mailing list