Bug#924169: libdvd-pkg: requires /var/lib to be 'exec'
Package: libdvd-pkg
Version: 1.4.0-1-2
Severity: normal
Dear Maintainer,
*** /tmp/bug_report_libdvd-pkg.txt
package : libdvd-pkg
* first attempts :
# dpkg-reconfigure libdvd-pkg
Can't exec "/var/lib/dpkg/info/libdvd-pkg.config": Permission non accordée at
/usr/share/perl/5.24/IPC/Open3.pm line 178.
open2: exec of /var/lib/dpkg/info/libdvd-pkg.config reconfigure 1.4.0-1-2
failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
* it seems the package needs /var/lib to be exec
* besides, doc requires /usr/src to be used (this is ok, that place is used for
rebuilding kernels, modules, ...)
* normal settings on my system :
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/usr '
/dev/mapper/vg1-lv_usr /usr ext4 noatime,nodev,ro 0 2
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/var '
/dev/mapper/vg1-lv_var /var ext4
nodev,nosuid,noexec,usrquota,grpquota 0 2
* changing settings for libdvd-pkg requirements :
root@pc-fixe-on-1:~# mount /usr -o rw,remount
root@pc-fixe-on-1:~# mount /var -o remount,exec
* second attempt :
root@pc-fixe-on-1:~# dpkg-reconfigure libdvd-pkg
* no errors
** conclusion :
this package requires /var/lib to be exec ; this is not a good idea and should
be changed
-- System Information:
Debian Release: 9.8
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libdvd-pkg depends on:
ii build-essential 12.3
ii debconf [debconf-2.0] 1.5.61
ii debhelper 10.2.5
ii devscripts 2.17.6+deb9u2
ii dh-autoreconf 14
ii wget 1.18-5+deb9u2
Versions of packages libdvd-pkg recommends:
ii libcap2-bin 1:2.25-1
libdvd-pkg suggests no packages.
-- debconf information:
* libdvd-pkg/post-invoke_hook-install: true
* libdvd-pkg/first-install:
libdvd-pkg/upgrade:
* libdvd-pkg/post-invoke_hook-remove: false
libdvd-pkg/title_b-i:
libdvd-pkg/title_u:
* libdvd-pkg/build: false
package : libdvd-pkg
* first attempts :
# dpkg-reconfigure libdvd-pkg
Can't exec "/var/lib/dpkg/info/libdvd-pkg.config": Permission non accordée at /usr/share/perl/5.24/IPC/Open3.pm line 178.
open2: exec of /var/lib/dpkg/info/libdvd-pkg.config reconfigure 1.4.0-1-2 failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
* it seems the package needs /var/lib to be exec
* besides, doc requires /usr/src to be used (this is ok, that place is used for rebuilding kernels, modules, ...)
* normal settings on my system :
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/usr '
/dev/mapper/vg1-lv_usr /usr ext4 noatime,nodev,ro 0 2
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/var '
/dev/mapper/vg1-lv_var /var ext4 nodev,nosuid,noexec,usrquota,grpquota 0 2
* changing settings for libdvd-pkg requirements :
root@pc-fixe-on-1:~# mount /usr -o rw,remount
root@pc-fixe-on-1:~# mount /var -o remount,exec
* second attempt :
root@pc-fixe-on-1:~# dpkg-reconfigure libdvd-pkg
* no errors
** conclusion :
this package requires /var/lib to be exec ; this is not a good idea and should be changed
no others debian packages to my memory requires that.
package : libdvd-pkg
* first attempts :
# dpkg-reconfigure libdvd-pkg
Can't exec "/var/lib/dpkg/info/libdvd-pkg.config": Permission non accordée at /usr/share/perl/5.24/IPC/Open3.pm line 178.
open2: exec of /var/lib/dpkg/info/libdvd-pkg.config reconfigure 1.4.0-1-2 failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.
* it seems the package needs /var/lib to be exec
* besides, doc requires /usr/src to be used (this is ok, that place is used for rebuilding kernels, modules, ...)
* normal settings on my system :
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/usr '
/dev/mapper/vg1-lv_usr /usr ext4 noatime,nodev,ro 0 2
root@pc-fixe-on-1:~# cat /etc/fstab | grep '/var '
/dev/mapper/vg1-lv_var /var ext4 nodev,nosuid,noexec,usrquota,grpquota 0 2
* changing settings for libdvd-pkg requirements :
root@pc-fixe-on-1:~# mount /usr -o rw,remount
root@pc-fixe-on-1:~# mount /var -o remount,exec
* second attempt :
root@pc-fixe-on-1:~# dpkg-reconfigure libdvd-pkg
* no errors
** conclusion :
this package requires /var/lib to be exec ; this is not a good idea and should be changed
no others debian packages to my memory requires that.
Reply to: