Bug#662588: unhide: incorrect use of alternatives

2012-03-05 Thread Piotr Engelking
Package: unhide
Version: 20110113-3
Severity: serious
Justification: wheezy RC policy 3

The unhide postinst script switches the unhide alternative to manual
mode, which is a violation of section 3 of the wheezy RC policy. The
manual mode is provided for the system administrator.

The use of the alternative is also broken: it decides which binary to
run based on which kernel was used at the package install time, which
is not necessarily the kernel that is used at run time.

Please remove the alternatives. One correct replacement would be to use a
wrapper to choose the binary. This is, however, no longer necessary, since
Debian doesn't support pre-2.6 Linux kernels anymore, so a simpler solution
is to just use the 2.6 features unconditionally on Linux systems.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.9 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

unhide depends on no packages.

unhide recommends no packages.

Versions of packages unhide suggests:
ii  rkhunter  1.3.8-10

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#662588: unhide: incorrect use of alternatives

2012-03-09 Thread Julien Valroff
Hi Piotr,

Le lundi 05 mars 2012 à 09:09:48 (+0100 CET), Piotr Engelking a écrit :
> The unhide postinst script switches the unhide alternative to manual
> mode, which is a violation of section 3 of the wheezy RC policy. The
> manual mode is provided for the system administrator.
> 
> The use of the alternative is also broken: it decides which binary to
> run based on which kernel was used at the package install time, which
> is not necessarily the kernel that is used at run time.
> 
> Please remove the alternatives. One correct replacement would be to use a
> wrapper to choose the binary. This is, however, no longer necessary, since
> Debian doesn't support pre-2.6 Linux kernels anymore, so a simpler solution
> is to just use the 2.6 features unconditionally on Linux systems.

Thanks for spotting this - will work on this during the week-end, latest
within the end of next week.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~  ~ 
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `- 4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org