Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300078

Summary: media-tv/gentoo-vdr-scripts-0.4.6: shutdown fails
Product: Gentoo Linux Reporter: Kai Krakow <hurikhan77+bgo>
Component: [OLD] UnspecifiedAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: major CC: media-tv
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log of failing shutdown script

Description Kai Krakow 2010-01-07 20:23:32 UTC
vdr cannot shut the system down after waken up by a timer. I'm attaching the debug log. The script fails with a syntax error, probably because a variable is not set properly. It took me some time to find this as vdr logs that it cannot shutdown because I need to configure sudo correctly and need to run "emerge --config" to do that. I tried and of couse everything is already correctly setup in sudo.

Reproducible: Always
Comment 1 Kai Krakow 2010-01-07 20:25:26 UTC
Created attachment 215584 [details]
Log of failing shutdown script
Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2010-12-04 16:46:57 UTC
its fixed now in the gentoo-vdr-scripts svn

will added to the tree in the next days on next script version.

Sorry for the long delay to fix this, havent enough time... 
Comment 3 Kai Krakow 2010-12-04 19:41:32 UTC
Thanks for your efforts. I found a workaround: When this behaviour happened, I had to delete all status files and reboot and it then worked. There seems to be one file which the shutdown script expects a timestamp inside but sometimes, however, this file is 0-sized and the script choked on that. Sorry for not reporting this.
Comment 4 Joerg Bornkessel (RETIRED) gentoo-dev 2010-12-05 23:59:51 UTC
media-tv/gentoo-vdr-scripts-0.4.8_rc1
hardmasked in portage,

unmask it for testing
echo "=media-tv/gentoo-vdr-scripts-0.4.8_rc1" >> /etc/portage/package.unmask

@ Kai 

plz, test it if it fix the bug,...
Comment 5 Kai Krakow 2010-12-06 00:38:59 UTC
I'm not sure how to force reproduction of this behavior but I'll try by truncating the involved shutdown state file.
Comment 6 Joerg Bornkessel (RETIRED) gentoo-dev 2011-01-25 00:07:21 UTC
fixed in

media-tv/gentoo-vdr-scripts-0.4.8

Thx for reporting this