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

Bug 298785

Summary: media-tv/gentoo-vdr-scripts-0.4.6 shuts the vdr down even if nvram-wakup fails
Product: Gentoo Linux Reporter: Michael Brakemeier <michael>
Component: Current packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: normal CC: hd_brummy, media-tv
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Brakemeier 2009-12-28 20:40:14 UTC
During shutdown of the vdr nvram-wakeup failed due to a short (<10min) wakeup time. Nevertheless the vdr-scripts invoke shutdown-halt.sh. System is brought down but will never wake up...

Reproducible: Didn't try

Actual Results:  
System is brought down.

Expected Results:  
System remains running to ensure that future recordings could be done.

Dec 28 04:23:48 azrael sudo:      vdr : TTY=unknown ; PWD=/var/vdr ; USER=root ; COMMAND=/usr/share/vdr/bin/vdrshutdown-really.sh 1261985400 14772 44 Ausgerechnet Alaska~Sonnenlicht zu verkaufen 0
Dec 28 04:23:48 azrael sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 28 04:23:48 azrael sudo: pam_unix(sudo:session): session closed for user root
Dec 28 04:23:48 azrael logger: Next timer at Mo 28. Dez 08:30:00 CET 2009
Dec 28 04:23:48 azrael logger: Modified wakeup time to Mo 28. Dez 04:30:00 CET 2009
Dec 28 04:23:49 azrael nvram-wakeup[4219]:
Dec 28 04:23:49 azrael nvram-wakeup[4219]: All values are displayed as they are stored in the nvram/rtc.
Dec 28 04:23:49 azrael nvram-wakeup[4219]: (and do not correspond necessarily to the system date/time)
Dec 28 04:23:49 azrael nvram-wakeup[4219]:
[...]
Dec 28 04:23:49 azrael nvram-wakeup[4219]: Do NOT write into nvram. Wake Up time must be
Dec 28 04:23:49 azrael nvram-wakeup[4219]: at least 10 minutes in the future.
Dec 28 04:23:49 azrael vdrshutdown-wakeup: Something went wrong, please check your config files of nvram-wakeup
Dec 28 04:23:49 azrael vdrshutdown-wakeup: Executing shutdown-halt.sh
Dec 28 04:23:49 azrael shutdown[4223]: shutting down for system halt
Dec 28 04:23:54 azrael init: Switching to runlevel: 0
Comment 1 Joerg Bornkessel 2019-11-12 22:43:01 UTC
Ey Berti,

is fixed and will commit in the next few days

gentoo-vdr-scripts-2.8

btw. you still could use

SHUTDOWN_DEFAULT_RETRY_TIME
from /etc/conf.d/vdr.shutdown

but i am not really shure, that did this work properly
as we have simply forgotten to source the path in the script

the default SHUTDOWN_DEFAULT_RETRY_TIME is now set to 5 minutes.
Comment 2 Larry the Git Cow gentoo-dev 2019-12-15 01:06:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832251698a5928764e2aeb6486cbb07f82a42944

commit 832251698a5928764e2aeb6486cbb07f82a42944
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2019-12-15 01:05:14 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2019-12-15 01:05:14 +0000

    media-tv/gentoo-vdr-scripts: bump to 2.8
    
    this bump will fix:
    SYMLINK_LIB=no / 17.1 profiles break VDR plugins
    fails to shutdown pc for sleep
    shuts the vdr down even if nvram-wakup fails
    disabled login for user vdr
    ebuild cleanup
    cleanup old
    
    Bug: https://bugs.gentoo.org/688174
    Bug: https://bugs.gentoo.org/646518
    Bug: https://bugs.gentoo.org/298785
    Closes: https://bugs.gentoo.org/688174
    Closes: https://bugs.gentoo.org/646518
    Closes: https://bugs.gentoo.org/298785
    Package-Manager: Portage-2.3.81, Repoman-2.3.18
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 media-tv/gentoo-vdr-scripts/Manifest               |   6 +-
 .../gentoo-vdr-scripts-2.0.0.ebuild                | 130 --------------------
 .../gentoo-vdr-scripts-2.5.ebuild                  | 133 --------------------
 .../gentoo-vdr-scripts-2.7.2.ebuild                | 135 ---------------------
 .../gentoo-vdr-scripts-2.7.5.ebuild                | 130 --------------------
 .../gentoo-vdr-scripts-2.7.ebuild                  | 135 ---------------------
 .../gentoo-vdr-scripts-2.8.ebuild                  |  82 +++++++++++++
 7 files changed, 83 insertions(+), 668 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832251698a5928764e2aeb6486cbb07f82a42944

commit 832251698a5928764e2aeb6486cbb07f82a42944
Author:     Joerg Bornkessel <hd_brummy@gentoo.org>
AuthorDate: 2019-12-15 01:05:14 +0000
Commit:     Joerg Bornkessel <hd_brummy@gentoo.org>
CommitDate: 2019-12-15 01:05:14 +0000

    media-tv/gentoo-vdr-scripts: bump to 2.8
    
    this bump will fix:
    SYMLINK_LIB=no / 17.1 profiles break VDR plugins
    fails to shutdown pc for sleep
    shuts the vdr down even if nvram-wakup fails
    disabled login for user vdr
    ebuild cleanup
    cleanup old
    
    Bug: https://bugs.gentoo.org/688174
    Bug: https://bugs.gentoo.org/646518
    Bug: https://bugs.gentoo.org/298785
    Closes: https://bugs.gentoo.org/688174
    Closes: https://bugs.gentoo.org/646518
    Closes: https://bugs.gentoo.org/298785
    Package-Manager: Portage-2.3.81, Repoman-2.3.18
    Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>

 media-tv/gentoo-vdr-scripts/Manifest               |   6 +-
 .../gentoo-vdr-scripts-2.0.0.ebuild                | 130 --------------------
 .../gentoo-vdr-scripts-2.5.ebuild                  | 133 --------------------
 .../gentoo-vdr-scripts-2.7.2.ebuild                | 135 ---------------------
 .../gentoo-vdr-scripts-2.7.5.ebuild                | 130 --------------------
 .../gentoo-vdr-scripts-2.7.ebuild                  | 135 ---------------------
 .../gentoo-vdr-scripts-2.8.ebuild                  |  82 +++++++++++++
 7 files changed, 83 insertions(+), 668 deletions(-)