Bug#1042488: gerbera: trouble during install or purge

2023-07-29 Thread Patrice Duroux
Package: gerbera
Version: 1.12.1+dfsg-0.1+b1
Followup-For: Bug #1042488

> Could you please do

> #dpkg -S /usr/sbin/policy-rc.d

> and post the output?

#LANG=C dpkg -S /usr/sbin/policy-rc.d
dpkg-query: no path found matching pattern /usr/sbin/policy-rc.d

but I confirm that my system have:

#ls -alit /usr/sbin/policy-rc.d
52636 -rwxr-xr-x 1 root root 19  8 févr.  2020 /usr/sbin/policy-rc.d*

That is strange, and even stranger:

#cat /usr/sbin/policy-rc.d
#!/bin/sh
exit 101

I will investigate that. Should I close this?

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gerbera depends on:
ii  adduser 3.137
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  fonts-lato  2.0-2.1
ii  libavcodec607:6.0-4
ii  libavformat60   7:6.0-4
ii  libavutil58 7:6.0-4
ii  libc6   2.37-6
ii  libcurl3-gnutls 7.88.1-11
ii  libduktape207   2.7.0-2
ii  libebml51.4.4-1
ii  libexif12   0.6.24-1+b1
ii  libexiv2-27 0.27.6-1
ii  libffmpegthumbnailer4v5 2.2.2+git20220218+dfsg-1+b2
ii  libfmt9 9.1.0+ds1-2
ii  libgcc-s1   13.1.0-9
ii  libixml11   1:1.14.17-2
ii  libjs-bootstrap44.6.1+dfsg1-4
ii  libjs-jquery3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui 1.13.2+dfsg-1
ii  libjs-popper.js 1.16.1+ds-6
ii  libjs-prototype 1.7.3-1
ii  libmagic1   1:5.44-3
ii  libmariadb3 1:10.11.4-1
ii  libmatroska71.7.1-1
ii  libpugixml1v5   1.13-0.2
ii  libspdlog1.10 [libspdlog1.10-fmt9]  1:1.10.0+ds-0.4
ii  libsqlite3-03.42.0-1
ii  libstdc++6  13.1.0-9
ii  libtag1v5   1.13.1-1
ii  libupnp17   1:1.14.17-2
ii  libuuid12.39.1-3
ii  node-js-cookie  3.0.1+~3.0.0-3

gerbera recommends no packages.

Versions of packages gerbera suggests:
ii  firefox [www-browser]   115.0.2-1
pn  gerbera-doc 
ii  google-chrome-stable [www-browser]  115.0.5790.110-1
ii  lynx [www-browser]  2.9.0dev.12-1
ii  vivaldi-stable [www-browser]6.1.3035.204-1

-- no debconf information


Bug#1042488: gerbera: trouble during install or purge

2023-07-29 Thread lorenzo
Hi,

On Sat, 29 Jul 2023 10:43:05 +0200
Patrice Duroux  wrote:

> Package: gerbera
> Version: 1.12.1+dfsg-0.1+b1
> Severity: normal
> 
> Dear Maintainer,
> 
> I do not know if it is a (temporary) general problem in the current
> Debian Sid. But there some bad interaction with the gerbera.service
> during the install:
> 
> Unpacking gerbera (1.12.1+dfsg-0.1+b1) ...
> Setting up gerbera (1.12.1+dfsg-0.1+b1) ...
> invoke-rc.d: policy-rc.d denied execution of start.
> Created symlink
> /etc/systemd/system/multi-user.target.wants/gerbera.service ->
> /lib/systemd/system/gerbera.service. /usr/sbin/policy-rc.d returned
> 101, not running 'start gerbera.service'

Could you please do

#dpkg -S /usr/sbin/policy-rc.d

and post the output?

/usr/sbin/policy-rc.d is not supposed to exist in a standard install

Regards,
Lorenzo

> 
> and during the purge (the service have been started since):
> 
> Removing gerbera (1.12.1+dfsg-0.1+b1) ...
> /usr/sbin/policy-rc.d returned 101, not running 'stop gerbera.service'
> invoke-rc.d: policy-rc.d denied execution of stop.
> Purging configuration files for gerbera (1.12.1+dfsg-0.1+b1) ...
> info: Removing crontab ...
> info: Removing user `gerbera' ...
> userdel: user gerbera is currently used by process 2553
> fatal: `/usr/sbin/userdel gerbera' returned error code 8. Exiting.
> info: Removing group `gerbera' ...
> groupdel: cannot remove the primary group of user 'gerbera'
> fatal: `/sbin/groupdel gerbera' returned error code 8. Exiting.
> 
> Thanks,
> Patrice
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
> 'experimental-debug'), (1, 'experimental') Architecture: amd64
> (x86_64) Foreign Architectures: i386
> 
> Kernel: Linux 6.4.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages gerbera depends on:
> ii  adduser 3.137
> ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
> ii  fonts-lato  2.0-2.1
> ii  libavcodec607:6.0-4
> ii  libavformat60   7:6.0-4
> ii  libavutil58 7:6.0-4
> ii  libc6   2.37-6
> ii  libcurl3-gnutls 7.88.1-11
> ii  libduktape207   2.7.0-2
> ii  libebml51.4.4-1
> ii  libexif12   0.6.24-1+b1
> ii  libexiv2-27 0.27.6-1
> ii  libffmpegthumbnailer4v5 2.2.2+git20220218+dfsg-1+b2
> ii  libfmt9 9.1.0+ds1-2
> ii  libgcc-s1   13.1.0-9
> ii  libixml11   1:1.14.17-2
> ii  libjs-bootstrap44.6.1+dfsg1-4
> ii  libjs-jquery3.6.1+dfsg+~3.5.14-1
> ii  libjs-jquery-ui 1.13.2+dfsg-1
> ii  libjs-popper.js 1.16.1+ds-6
> ii  libjs-prototype 1.7.3-1
> ii  libmagic1   1:5.44-3
> ii  libmariadb3 1:10.11.4-1
> ii  libmatroska71.7.1-1
> ii  libpugixml1v5   1.13-0.2
> ii  libspdlog1.10 [libspdlog1.10-fmt9]  1:1.10.0+ds-0.4
> ii  libsqlite3-03.42.0-1
> ii  libstdc++6  13.1.0-9
> ii  libtag1v5   1.13.1-1
> ii  libupnp17   1:1.14.17-2
> ii  libuuid12.39.1-3
> ii  node-js-cookie  3.0.1+~3.0.0-3
> 
> gerbera recommends no packages.
> 
> Versions of packages gerbera suggests:
> ii  firefox [www-browser]   115.0.2-1
> pn  gerbera-doc 
> ii  google-chrome-stable [www-browser]  115.0.5790.110-1
> ii  lynx [www-browser]  2.9.0dev.12-1
> ii  vivaldi-stable [www-browser]6.1.3035.204-1
> 
> -- no debconf information
> 



Bug#1042488: gerbera: trouble during install or purge

2023-07-29 Thread Patrice Duroux
Package: gerbera
Version: 1.12.1+dfsg-0.1+b1
Severity: normal

Dear Maintainer,

I do not know if it is a (temporary) general problem in the current Debian Sid.
But there some bad interaction with the gerbera.service during the install:

Unpacking gerbera (1.12.1+dfsg-0.1+b1) ...
Setting up gerbera (1.12.1+dfsg-0.1+b1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Created symlink /etc/systemd/system/multi-user.target.wants/gerbera.service ->
/lib/systemd/system/gerbera.service.
/usr/sbin/policy-rc.d returned 101, not running 'start gerbera.service'

and during the purge (the service have been started since):

Removing gerbera (1.12.1+dfsg-0.1+b1) ...
/usr/sbin/policy-rc.d returned 101, not running 'stop gerbera.service'
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for gerbera (1.12.1+dfsg-0.1+b1) ...
info: Removing crontab ...
info: Removing user `gerbera' ...
userdel: user gerbera is currently used by process 2553
fatal: `/usr/sbin/userdel gerbera' returned error code 8. Exiting.
info: Removing group `gerbera' ...
groupdel: cannot remove the primary group of user 'gerbera'
fatal: `/sbin/groupdel gerbera' returned error code 8. Exiting.

Thanks,
Patrice


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gerbera depends on:
ii  adduser 3.137
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  fonts-lato  2.0-2.1
ii  libavcodec607:6.0-4
ii  libavformat60   7:6.0-4
ii  libavutil58 7:6.0-4
ii  libc6   2.37-6
ii  libcurl3-gnutls 7.88.1-11
ii  libduktape207   2.7.0-2
ii  libebml51.4.4-1
ii  libexif12   0.6.24-1+b1
ii  libexiv2-27 0.27.6-1
ii  libffmpegthumbnailer4v5 2.2.2+git20220218+dfsg-1+b2
ii  libfmt9 9.1.0+ds1-2
ii  libgcc-s1   13.1.0-9
ii  libixml11   1:1.14.17-2
ii  libjs-bootstrap44.6.1+dfsg1-4
ii  libjs-jquery3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-ui 1.13.2+dfsg-1
ii  libjs-popper.js 1.16.1+ds-6
ii  libjs-prototype 1.7.3-1
ii  libmagic1   1:5.44-3
ii  libmariadb3 1:10.11.4-1
ii  libmatroska71.7.1-1
ii  libpugixml1v5   1.13-0.2
ii  libspdlog1.10 [libspdlog1.10-fmt9]  1:1.10.0+ds-0.4
ii  libsqlite3-03.42.0-1
ii  libstdc++6  13.1.0-9
ii  libtag1v5   1.13.1-1
ii  libupnp17   1:1.14.17-2
ii  libuuid12.39.1-3
ii  node-js-cookie  3.0.1+~3.0.0-3

gerbera recommends no packages.

Versions of packages gerbera suggests:
ii  firefox [www-browser]   115.0.2-1
pn  gerbera-doc 
ii  google-chrome-stable [www-browser]  115.0.5790.110-1
ii  lynx [www-browser]  2.9.0dev.12-1
ii  vivaldi-stable [www-browser]6.1.3035.204-1

-- no debconf information