Debian Bug report logs - #469556
all scripts in /etc/acpi should do nothing when the package is removed

version graph

Package: acpi-support; Maintainer for acpi-support is Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>; Source for acpi-support is src:acpi-support (PTS, buildd, popcon).

Reported by: Damyan Ivanov <dmn@debian.org>

Date: Wed, 5 Mar 2008 21:24:23 UTC

Severity: normal

Found in version acpi-support/0.103-5

Fixed in version acpi-support/0.109-1

Done: Bart Samwel <bart@samwel.tk>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-eeepc-devel@lists.alioth.debian.org, Bart Samwel <bart@samwel.tk>:
Bug#469556; Package acpi-support. (full text, mbox, link).


Acknowledgement sent to Damyan Ivanov <dmn@debian.org>:
New Bug report received and forwarded. Copy sent to debian-eeepc-devel@lists.alioth.debian.org, Bart Samwel <bart@samwel.tk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Damyan Ivanov <dmn@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: all scripts in /etc/acpi should do nothing when the package is removed
Date: Wed, 05 Mar 2008 23:22:09 +0200
Package: acpi-support
Version: 0.103-5
Severity: normal

Hi,

When acpi-support is removed, all scripts in /etc/acpi continue to
function. This makes it impossible for eeepc-acpi-scripts, which
provides similar functionality, to use Conflicts: and count that this
would be enough to disable acpi-support's scripts from firing.

This is contrary to how init.d scripts and cron fragments handle package
reoval.


If you like, I can prepare a patch for SVN that adds

  [ -d /usr/share/acpi-support ] || exit 0

to every script in /etc/acpi. (or, as it is collab-main, I can commit
the change directly).


Thank you for your time.
        dam




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#469556; Package acpi-support. (full text, mbox, link).


Acknowledgement sent to Bart Samwel <bart@samwel.tk>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 469556@bugs.debian.org (full text, mbox, reply):

From: Bart Samwel <bart@samwel.tk>
To: Damyan Ivanov <dmn@debian.org>, 469556@bugs.debian.org
Subject: Re: Bug#469556: all scripts in /etc/acpi should do nothing when the package is removed
Date: Thu, 06 Mar 2008 09:34:46 +0100
Hi Damyan,

If those checks aren't there, they should be. I'll make sure they're 
there in the next update.

Cheers,
Bart

Damyan Ivanov wrote:
> Package: acpi-support
> Version: 0.103-5
> Severity: normal
> 
> Hi,
> 
> When acpi-support is removed, all scripts in /etc/acpi continue to
> function. This makes it impossible for eeepc-acpi-scripts, which
> provides similar functionality, to use Conflicts: and count that this
> would be enough to disable acpi-support's scripts from firing.
> 
> This is contrary to how init.d scripts and cron fragments handle package
> reoval.
> 
> 
> If you like, I can prepare a patch for SVN that adds
> 
>   [ -d /usr/share/acpi-support ] || exit 0
> 
> to every script in /etc/acpi. (or, as it is collab-main, I can commit
> the change directly).
> 
> 
> Thank you for your time.
>         dam
> 
> 





Tags added: pending Request was from "Bart Samwel" <bart@samwel.tk> to control@bugs.debian.org. (Sun, 09 Mar 2008 12:42:13 GMT) (full text, mbox, link).


Reply sent to Bart Samwel <bart@samwel.tk>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Damyan Ivanov <dmn@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #17 received at 469556-close@bugs.debian.org (full text, mbox, reply):

From: Bart Samwel <bart@samwel.tk>
To: 469556-close@bugs.debian.org
Subject: Bug#469556: fixed in acpi-support 0.109-1
Date: Tue, 13 May 2008 07:32:03 +0000
Source: acpi-support
Source-Version: 0.109-1

We believe that the bug you reported is fixed in the latest version of
acpi-support, which is due to be installed in the Debian FTP archive:

acpi-support-base_0.109-1_all.deb
  to pool/main/a/acpi-support/acpi-support-base_0.109-1_all.deb
acpi-support_0.109-1.dsc
  to pool/main/a/acpi-support/acpi-support_0.109-1.dsc
acpi-support_0.109-1.tar.gz
  to pool/main/a/acpi-support/acpi-support_0.109-1.tar.gz
acpi-support_0.109-1_i386.deb
  to pool/main/a/acpi-support/acpi-support_0.109-1_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 469556@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bart Samwel <bart@samwel.tk> (supplier of updated acpi-support 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 12 May 2008 17:10:00 +0200
Source: acpi-support
Binary: acpi-support acpi-support-base
Architecture: source i386 all
Version: 0.109-1
Distribution: unstable
Urgency: low
Maintainer: Bart Samwel <bart@samwel.tk>
Changed-By: Bart Samwel <bart@samwel.tk>
Description: 
 acpi-support - scripts for handling many ACPI events
 acpi-support-base - scripts for handling base ACPI events such as the power button
Closes: 373660 405563 410478 426934 447742 450531 453706 453856 453861 455012 458437 458787 459326 459328 461311 461441 462954 463719 467347 467374 469556 471510 473184 475002 477917 480033
Changes: 
 acpi-support (0.109-1) unstable; urgency=low
 .
   * New upstream release 0.109 (Ubuntu Hardy) [no relevant changes].
   * New upstream release 0.108 (Ubuntu Hardy) [no relevant changes].
   * New upstream release 0.107 (Ubuntu Hardy):
     * "lib/FUJITSU SIEMENS.config": Fix typo, which caused failures on Fujitsu
       notebooks (LP: #203452)
   * New upstream release 0.106 (Ubuntu Hardy):
     * Add events/asus-video to support asus switch video hotkey; patch from
       Nicolò Chieffo (LP: #138228)
     * Fix the value range in sonybright.sh (0-7 instead of 1-8); patch from
       unggnu (LP: #136380)
     * "lib/FUJITSU SIEMENS.config":
       - Enable suspend for Fujitsu-Siemens C1110 (LP: #52970)
       - Enable STR for Fujitsu-Siemens Lifebook S7020, S7110
     * events/asus-*: Fix event key names for ASUS (HOTK); patch from
       Jeroen van der Vegt (LP: #25784)
     * Fix names in comments for events/panasonic-{mute,volume-down,volume-up}
     * Drop thinkpad_acpi.modprobe: the workarounds therein are not needed for
       thinkpad_acpi in Hardy anymore; investigations by Jerone Young
       (LP: #194679) [ Note from Bart Samwel: Therefore probably not needed in
       current Debian kernels either. ]
   * New upstream version 0.105 (from Ubuntu Hardy):
     * Fix screenblank for KDE by using a dcop call
   * Add HOTK key names in events/asus-* for more keys than provided by the
     upstream.
   * Remove extra non-owned files on purge. Closes: #455012
   * Call old acpid power button handler /etc/acpi/powerbtn.sh if present.
     Closes: #461311
   * Support "operstate" power state file for madwifi drivers. Closes: #453706.
   * Support operstate, rf_kill and power/state to determine if wireless is
     powered on. Closes: #463719.
   * Support asus-laptop module as well as asus-acpi module for setting the
     wireless LED. Closes: #453856.
   * As a fallback, detect X instances that were not started on a vt.
     Closes: #462954.
   * Add missing checks that acpi-support is installed to some of the config
     scripts. Closes: #469556.
   * Remove Default-Stop entries from vbesave init script, since the script
     doesn't do anything when it's stopped. Closes: #461441.
   * Check that a drive supports APM before using hdparm -B on it.
     Closes: #458787.
   * Divert sleep button to sleep.sh if power management daemons are not
     running, for thinkpad, panasonic, sony and toshiba laptops.
     Closes: #467374, 373660.
   * Stop laptop mode early in the suspend/hibernate process, and start it late
     at resume time. This fixes suspend/resume problems on at least one machine.
     Closes: #458437.
   * Config option USE_HIBERNATE_PACKAGE=true will now instruct acpi-support to
     delegate sleeping and hibernation to the "hibernate" package.
     Closes: #426934, #405563.
   * Check if we can actually open event device in acpi_fakekey. Closes: #410478.
   * Support Asus R1F tablet screen rotation. Kudos to Antonio Trueba.
     Closes: #450531.
   * Remove /etc/acpi/resume.d/49-915-resolution-set.sh. It will be moved to
     the 915resolution package. Closes: #447742, #467347.
   * Don't misinterpret Asus Eee PC hotkeys as brightness keys. Closes: #459328.
   * Support Asus Eee PC volume up/down and mute keys. Closes: #459326.
   * Get rid of extra quotes in asus-wireless.sh.
   * Fix handling of ${shlibs:Depends} in control file (it wasn't generated in
     the rules file).
   * Move radeontool to Recommends. (This is possible because radeontool is in
     task "laptop" now.)
   * Once again got rid of some bash dependencies. Closes: #453861.
   * Be able to detect X user when X has been started using startx. Thanks to
     Csaba Halasz for the patch. Closes: #471510.
   * Call wpa_action stop for wpasupplicant-controlled interfaces before suspend.
     Closes: #473184.
   * Correctly bring up logical interfaces on resume. Closes: #475002.
   * Instead of restarting Network Manager on suspend, call its sleep and wakeup
     events. Closes: #477917.
   * Add console-tools to depends of acpi-support-base, since we use fgconsole in
     power-funcs.
   * Fix dcop call in CheckPolicy to pass the X user. Closes: #480033.
   * Let acpi-support depend on exact version of acpi-support-base.
Checksums-Sha1: 
 f30e27f072247b64732ea39ca34fba7244e8300e 1061 acpi-support_0.109-1.dsc
 9275c9c34e10024394454f3fda4e4b8181d25bbb 54341 acpi-support_0.109-1.tar.gz
 0fe62bddb301c7f779293fbcaaa6ec8308d89ca0 48412 acpi-support_0.109-1_i386.deb
 3a19cf9cb8f4a926e4f1879e885eb7bf468e544a 20646 acpi-support-base_0.109-1_all.deb
Checksums-Sha256: 
 45360ab8748ea38c3c9faddbcd4ddaedc6012086eef10d2cd9045edf3f8b7fd3 1061 acpi-support_0.109-1.dsc
 4c5e56387d13fa6490e5cdc3f7fb42339e83898d49fc06f0bb33b2f67a5137bb 54341 acpi-support_0.109-1.tar.gz
 1e9163ae4f546fa7e76429b872d25ff375c020efc9e908c5358f0039cd888012 48412 acpi-support_0.109-1_i386.deb
 1bfb36b1a2641f5c5cfb05a7fb85f4a69a4c0969d0ff7f065251693ac3f93daa 20646 acpi-support-base_0.109-1_all.deb
Files: 
 0c1b965e1af4bba1167fac0c38dad28c 1061 admin optional acpi-support_0.109-1.dsc
 855e77e41dbcc2aae528596439e767cf 54341 admin optional acpi-support_0.109-1.tar.gz
 b95f0fe94c84086bbafc5f4669b6f754 48412 admin optional acpi-support_0.109-1_i386.deb
 a5ca7fc538c446dc4747accd98a5ed5a 20646 admin optional acpi-support-base_0.109-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Signed by Raphael Hertzog

iD8DBQFIKT1avPbGD26BadIRAoFQAJ96QT+gaj6G+U7SkEcpG5MmsRwsKACff08L
bSIX9eo26aK6AcQSFViw+bg=
=uFKt
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 21 Jun 2008 07:41:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 06:46:48 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.