Your message dated Fri, 24 Aug 2007 18:32:54 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#437822: fixed in vlock 2.0-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: vlock
Version: 2.0-1
Severity: important
Hello,
it seems that even if the user is in the vlock group (as suggested in
NEWS.Debian and in upstream SECURITY), options -s and -n don't work:
=====
[EMAIL PROTECTED]:~$ groups
luca adm disk dialout cdrom floppy audio src video plugdev staff fuse vlock
[EMAIL PROTECTED]:~$ vlock -a -s
vlock-nosysrq: could not open '/proc/sys/kernel/sysrq': Permission denied
[EMAIL PROTECTED]:~$ vlock -n
vlock-new: cannot open virtual console: Permission denied
[EMAIL PROTECTED]:~$
=====
The problem is that vlock.postinst is not setting the correct
group/mode during upgrades. This cause also the failure of package
de-installation (thus severity important):
=====
gismo:~# dpkg -s vlock | grep Status
Status: purge ok not-installed
gismo:~# apt-cache policy vlock
vlock:
Installed: (none)
Candidate: 2.0-1
Version table:
2.0-1 0
990 http://ftp.ch.debian.org sid/main Packages
2.0~rc2-1 0
1 http://ftp.ch.debian.org experimental/main Packages
1.3-10 0
500 http://ftp.ch.debian.org testing/main Packages
gismo:~# apt-get install vlock=1.3-10
[...]
Setting up vlock (1.3-10) ...
gismo:~# ls -l /usr/sbin/vlock-*
ls: /usr/sbin/vlock-*: No such file or directory
gismo:~# apt-get install vlock
[...]
Setting up vlock (2.0-1) ...
gismo:~# ls -l /usr/sbin/vlock-*
-rwxr-xr-x 1 root root 6656 2007-08-13 20:06 /usr/sbin/vlock-all
-rwxr-xr-x 1 root root 7328 2007-08-13 20:06 /usr/sbin/vlock-current
-rwxr-xr-x 1 root root 6896 2007-08-13 20:06 /usr/sbin/vlock-new
-rwxr-xr-x 1 root root 6928 2007-08-13 20:06 /usr/sbin/vlock-nosysrq
gismo:~# dpkg-statoverride --list | grep vlock
gismo:~# dpkg -P vlock
(Reading database ... 90132 files and directories currently installed.)
Removing vlock ...
Purging configuration files for vlock ...
No override present.
dpkg: error processing vlock (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
vlock
gismo:~#
=====
Manually setting group/mode/overrides as in vlock.postinst solved the
issue.
BTW, since vlock.postinst calls dpkg-statoverride with the --update
option, you don't need to manually set the group/mode,
dpkg-statoverride will do it.
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vlock depends on:
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii libpam-modules 0.79-4 Pluggable Authentication Modules f
ii libpam0g 0.79-4 Pluggable Authentication Modules l
vlock recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: vlock
Source-Version: 2.0-2
We believe that the bug you reported is fixed in the latest version of
vlock, which is due to be installed in the Debian FTP archive:
vlock_2.0-2.diff.gz
to pool/main/v/vlock/vlock_2.0-2.diff.gz
vlock_2.0-2.dsc
to pool/main/v/vlock/vlock_2.0-2.dsc
vlock_2.0-2_i386.deb
to pool/main/v/vlock/vlock_2.0-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexander Wirt <[EMAIL PROTECTED]> (supplier of updated vlock package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 24 Aug 2007 09:44:22 +0200
Source: vlock
Binary: vlock
Architecture: source i386
Version: 2.0-2
Distribution: unstable
Urgency: low
Maintainer: Peter Palfrader <[EMAIL PROTECTED]>
Changed-By: Alexander Wirt <[EMAIL PROTECTED]>
Description:
vlock - Virtual Console locking program
Closes: 437822
Changes:
vlock (2.0-2) unstable; urgency=low
.
* Check for overrides every time (Closes: #437822)
Files:
91f0464ca7c5431dd6fb64ea3541b7f5 677 utils optional vlock_2.0-2.dsc
678ee3d032a08aa90333ed4a42672526 5035 utils optional vlock_2.0-2.diff.gz
d5e65a42b0a51390fb85a017ba916f17 21036 utils optional vlock_2.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGzyDC01u8mbx9AgoRArvjAKCBm6EfezmHj8Ox0vgKZ/dGyDfxegCcDaN+
5H1GderkxO0SmtkATLZwdh4=
=bU7A
-----END PGP SIGNATURE-----
--- End Message ---