[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#355527: marked as done (klaptopdeamon: Please use dpkg-statoverride instead of chmod to change rights on helper programs)



Your message dated Wed, 29 Mar 2006 19:02:11 -0800
with message-id <E1FOnQJ-0006Ya-N7@spohr.debian.org>
and subject line Bug#355527: fixed in kdeutils 4:3.5.2-1
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: klaptopdeamon
Version: klaptopdaemon
Severity: normal
Tags: patch

The klaptopdaemon configuration interface uses simple chmod and chown
commands to change the rights on the APM and ACPI helper programs.
On Debian, those rights are reinitialized on every update of the
package. Please use dpkg-statoverride instead, to keep these changes
accross package updates.

The attached patch does this.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
--- kdeutils-3.5.1/klaptopdaemon/acpi.cpp	2006-01-20 01:49:18.000000000 +0900
+++ kdeutils-3.5.1-patched/klaptopdaemon/acpi.cpp	2006-03-06 18:08:31.788108032 +0900
@@ -186,7 +186,7 @@
 			proc << kdesu;
 			proc << "-u";
 			proc << "root";
-			proc <<  "chown root "+helper+"; chmod +s "+helper;
+			proc <<  "dpkg-statoverride --update --add root root 6755 "+helper;
 			proc.start(KProcess::Block);	// run it sync so has_acpi below sees the results
 		}
 	} else {
--- kdeutils-3.5.1/klaptopdaemon/apm.cpp	2006-01-20 01:49:18.000000000 +0900
+++ kdeutils-3.5.1-patched/klaptopdaemon/apm.cpp	2006-03-06 18:11:12.953607152 +0900
@@ -166,7 +166,7 @@
 			proc << kdesu;
 			proc << "-u";
 			proc << "root";
-			proc <<  QString("chown root ")+apm_name+"; chmod +s "+apm_name;
+			proc <<  QString("dpkg-statoverride --update --add root root 6755 ")+apm_name;
 			proc.start(KProcess::Block);	// run it sync so has_apm below sees the results
 		}
 	} else {
@@ -208,7 +208,7 @@
 			proc << kdesu;
 			proc << "-u";
 			proc << "root";
-			proc <<  "chown root "+helper+"; chmod +s "+helper;
+			proc <<  "dpkg-statoverride --update --add root root 6755 "+helper;
 			proc.start(KProcess::Block);	// run it sync so has_acpi below sees the results
 		}
 	} else {

--- End Message ---
--- Begin Message ---
Source: kdeutils
Source-Version: 4:3.5.2-1

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

ark_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/ark_3.5.2-1_i386.deb
kcalc_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kcalc_3.5.2-1_i386.deb
kcharselect_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kcharselect_3.5.2-1_i386.deb
kdelirc_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kdelirc_3.5.2-1_i386.deb
kdessh_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kdessh_3.5.2-1_i386.deb
kdeutils-dbg_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kdeutils-dbg_3.5.2-1_i386.deb
kdeutils-dev_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kdeutils-dev_3.5.2-1_i386.deb
kdeutils-doc-html_3.5.2-1_all.deb
  to pool/main/k/kdeutils/kdeutils-doc-html_3.5.2-1_all.deb
kdeutils-doc_3.5.2-1_all.deb
  to pool/main/k/kdeutils/kdeutils-doc_3.5.2-1_all.deb
kdeutils_3.5.2-1.diff.gz
  to pool/main/k/kdeutils/kdeutils_3.5.2-1.diff.gz
kdeutils_3.5.2-1.dsc
  to pool/main/k/kdeutils/kdeutils_3.5.2-1.dsc
kdeutils_3.5.2-1_all.deb
  to pool/main/k/kdeutils/kdeutils_3.5.2-1_all.deb
kdeutils_3.5.2.orig.tar.gz
  to pool/main/k/kdeutils/kdeutils_3.5.2.orig.tar.gz
kdf_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kdf_3.5.2-1_i386.deb
kedit_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kedit_3.5.2-1_i386.deb
kfloppy_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kfloppy_3.5.2-1_i386.deb
kgpg_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kgpg_3.5.2-1_i386.deb
khexedit_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/khexedit_3.5.2-1_i386.deb
kjots_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kjots_3.5.2-1_i386.deb
klaptopdaemon_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/klaptopdaemon_3.5.2-1_i386.deb
kmilo_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kmilo_3.5.2-1_i386.deb
kregexpeditor_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kregexpeditor_3.5.2-1_i386.deb
ksim_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/ksim_3.5.2-1_i386.deb
ktimer_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/ktimer_3.5.2-1_i386.deb
kwalletmanager_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/kwalletmanager_3.5.2-1_i386.deb
superkaramba_3.5.2-1_i386.deb
  to pool/main/k/kdeutils/superkaramba_3.5.2-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 355527@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Martin <chrsmrtn@debian.org> (supplier of updated kdeutils 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.7
Date: Wed, 29 Mar 2006 19:16:13 -0500
Source: kdeutils
Binary: kdeutils-dev kwalletmanager kedit kdf ktimer kcharselect kdeutils-dbg superkaramba kdeutils kdessh ksim kjots kdeutils-doc-html kfloppy kcalc kdelirc kmilo klaptopdaemon ark kdeutils-doc kgpg khexedit kregexpeditor
Architecture: source i386 all
Version: 4:3.5.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Christopher Martin <chrsmrtn@debian.org>
Description: 
 ark        - graphical archiving tool for KDE
 kcalc      - calculator for KDE
 kcharselect - character selector for KDE
 kdelirc    - infrared control for KDE
 kdessh     - ssh frontend for KDE
 kdeutils   - general purpose utilities from the official KDE release
 kdeutils-dbg - debugging symbols for kdeutils
 kdeutils-dev - development files for the KDE utilities module
 kdeutils-doc - developer documentation for the KDE utilities module
 kdeutils-doc-html - KDE utilities documentation in HTML format
 kdf        - disk space utility for KDE
 kedit      - basic text editor for KDE
 kfloppy    - floppy formatter for KDE
 kgpg       - GnuPG frontend for KDE
 khexedit   - KDE hex editor
 kjots      - note taking utility for KDE
 klaptopdaemon - battery monitoring and management for laptops using KDE
 kmilo      - laptop special keys support for KDE
 kregexpeditor - graphical regular expression editor plugin for KDE
 ksim       - system information monitor for KDE
 ktimer     - timer utility for KDE
 kwalletmanager - wallet manager for KDE
 superkaramba - a program based on karamba improving the eyecandy of KDE
Closes: 355527 355529
Changes: 
 kdeutils (4:3.5.2-1) unstable; urgency=low
 .
   * New upstream release.
 .
   * KDE_3_5_BRANCH update (up to r524080).
 .
   +++ Changes by Christopher Martin:
 .
   * When klaptopdaemon changes klaptop_acpi_helper's permissions, use
     dpkg-statoverride. Thanks to Romain Lenglet for the patch. See
     klatopdaemon's README.Debian for details.
     (Closes: #355527, #355529)
Files: 
 9866e0fbfe84adf4ee8c48e131ca81f6 1446 kde optional kdeutils_3.5.2-1.dsc
 9522e15a2ccc956fa50e493439afc1a0 3914447 kde optional kdeutils_3.5.2.orig.tar.gz
 4d4926c4b8ac5cc8557d21a48bdc7be9 306846 kde optional kdeutils_3.5.2-1.diff.gz
 b363d1727fca549a4bb7591d940c9d3c 17066 kde optional kdeutils_3.5.2-1_all.deb
 b3dab605b8f25d735be84e4ddc291537 770118 doc optional kdeutils-doc_3.5.2-1_all.deb
 1a8ce0712edfc468b4f7026e5a95a9bc 112922 doc optional kdeutils-doc-html_3.5.2-1_all.deb
 45031235e4dd78e37678bc3f5ad2fa6f 33380 utils optional kdeutils-dev_3.5.2-1_i386.deb
 2fa5871d45a4ba4789b9082721dcc0ba 291598 utils optional ark_3.5.2-1_i386.deb
 13264be7b41060f102ee5e56d2165efa 195160 utils optional kcalc_3.5.2-1_i386.deb
 b9f39ecca3f1112817b3fe59871126d5 70544 utils optional kcharselect_3.5.2-1_i386.deb
 cf0063a7dd249299e6e978b1c81466f9 258866 utils optional kdelirc_3.5.2-1_i386.deb
 306ea114217900f1b756cb00f52e2b5b 31058 kde optional kdessh_3.5.2-1_i386.deb
 f9eb31b8f3ba03912a30a201a0e1afca 335532 utils optional kdf_3.5.2-1_i386.deb
 228d3c6dad19f1dc9e736b4fcb29c5b8 119824 editors optional kedit_3.5.2-1_i386.deb
 54d9458b25c080bd52c2a9cb07d51a94 95938 utils optional kfloppy_3.5.2-1_i386.deb
 9498b74121b1bf00c97ae8b1cff64ed5 465410 kde optional kgpg_3.5.2-1_i386.deb
 43e6e27adc6a6b7aeef3dd67a23c4d01 375166 utils optional khexedit_3.5.2-1_i386.deb
 40a787e59450057c7348da45790b2884 109766 utils optional kjots_3.5.2-1_i386.deb
 9a309ef55284483f61122a7688bcb738 250910 kde optional klaptopdaemon_3.5.2-1_i386.deb
 d6b8e981529780e1d9112927122912f5 147584 utils optional kmilo_3.5.2-1_i386.deb
 c958f3220379b365d43bd25fbcb4d87a 286180 kde optional kregexpeditor_3.5.2-1_i386.deb
 0a029cd5128576d8922b1a8d83b48b50 434486 utils optional ksim_3.5.2-1_i386.deb
 0d40062e4e304119faeeb40b76c24b03 74068 utils optional ktimer_3.5.2-1_i386.deb
 7e95cf53d1d5a56ac86a6a6f4f03fd1a 344426 utils optional kwalletmanager_3.5.2-1_i386.deb
 0ec408e0c4270401fc55a60e85eb26af 528290 kde optional superkaramba_3.5.2-1_i386.deb
 939c2459e4db8686d6781d583647b02f 8433426 libdevel extra kdeutils-dbg_3.5.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Signed by Christopher Martin <chrsmrtn@debian.org>

iD8DBQFEK0eMU+gWW+vtsysRAu6oAJ453qSwFiu2gZqHtURDN162+Inf0wCeMniD
nHiLZnYsioLWgWulMQPZI+o=
=lkKi
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: