Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300078 - media-tv/gentoo-vdr-scripts-0.4.6: shutdown fails
Summary: media-tv/gentoo-vdr-scripts-0.4.6: shutdown fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 20:23 UTC by Kai Krakow
Modified: 2011-01-25 00:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of failing shutdown script (vdrshutdown-really.log,5.61 KB, text/plain)
2010-01-07 20:25 UTC, Kai Krakow
Details

Note You need to log in before you can comment on or make changes to this bug.
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