Thread
:
[Announce] kernel-power stable v49 in Extras-Testing
View Single Post
pali
2011-07-27 , 21:21
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#
1107
Finally problem with kernel-power-settings was found and fixed.
Problem:
I'm using madde for compiling and creating deb packages. Madde has its own dpkg tools (own tool for low-level creating deb package) which ignore file permitions (or change it or use its own??). And it still change permitions of /etc/kernel-power/pre-mount from 755 to 644. And upstart failed in /etc/default/mount-opts (which started pre-mount script).
Solution:
Changed generating file /etc/default/mount-opts which execute script from method 'if test -x FILE && ./FILE' to 'sh FILE || true'. In qemu now all works.
Why it worked with update? Config file /etc/kernel-power/pre-mount was not changed, so dpkg does not replaced it when update from 11 to 12. (and permitions was kept).
When I debugged it I also chmod +x permitions, so I was unable to debug it...
New fixed version is on same place.
Quote & Reply
|
The Following 12 Users Say Thank You to pali For This Useful Post:
carbonjha
,
demolition
,
don_falcone
,
Estel
,
F2thaK
,
fw190
,
handaxe
,
hgroove
,
moepda
,
OVK
,
P@t
,
vi_
pali
View Public Profile
Find all posts by pali