Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9126 - laptop-mode-tools 1.35-1 rc-script bug disables functionality
Attached to Project:
Arch Linux
Opened by Lothar Gesslein (ulmen) - Tuesday, 08 January 2008, 08:31 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 08 January 2008, 13:27 GMT
Opened by Lothar Gesslein (ulmen) - Tuesday, 08 January 2008, 08:31 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 08 January 2008, 13:27 GMT
|
DetailsWith the latest laptop-mode-tools 1.35 the following change was made upstream:
"Move /var/run/laptop-mode-* to /var/run/laptop-mode-tools/*." The rcd-script in 1.35-1 was not updated accordingly, thus laptop-mode won't work anymore. trivial patch to fix: diff -Nur laptop-mode.rcd.bak /etc/rc.d/laptop-mode --- laptop-mode.rc.bak 2008-01-08 09:22:24.000000000 +0100 +++ /etc/rc.d/laptop-mode 2008-01-08 09:22:14.000000000 +0100 @@ -9,7 +9,7 @@ case "$1" in start) stat_busy "Starting laptop-mode" - touch /var/run/laptop-mode-enabled + touch /var/run/laptop-mode-tools/enabled /usr/sbin/laptop_mode auto init >/dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail @@ -20,7 +20,7 @@ ;; stop) stat_busy "Stopping laptop-mode" - rm -f /var/run/laptop-mode-enabled + rm -f /var/run/laptop-mode-tools/enabled /usr/sbin/laptop_mode stop init >/dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail @@ -31,7 +31,7 @@ ;; restart) stat_busy "Restarting laptop-mode" - touch /var/run/laptop-mode-enabled + touch /var/run/laptop-mode-tools/enabled /usr/sbin/laptop_mode auto init force >/dev/null 2>&1 if [ $? -gt 0 ]; then stat_fail Maybe also at other places, but with this it works for me. Thanks! |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 08 January 2008, 13:27 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.35-2
Tuesday, 08 January 2008, 13:27 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.35-2
But i wondered if the removal of the md5sums in the PKGBUILD was intended?