Bug 177690 - sys-power/hibernate-script should use /etc/init.d/functions.sh not /sbin/functions.sh
Bug#: 177690 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: alonbl@gentoo.org Reported By: lmantellini@hotmail.com
Component: Applications
URL: 
Summary: sys-power/hibernate-script should use /etc/init.d/functions.sh not /sbin/functions.sh
Keywords:  
Status Whiteboard: 
Opened: 2007-05-08 18:46 0000
Description:   Opened: 2007-05-08 18:46 0000
hi...

Hibernate scripts should be updated to call function.sh at new path
/lib64/rcscripts/sh/functions.sh (or adding a symbolic link in /sbin....).

bye


luigi

------- Comment #1 From SpanKY 2007-05-08 18:52:32 0000 -------
no, things should be using /etc/init.d/functions.sh

that said, *what* scripts ... give full package name and paths to files that
are affected

------- Comment #2 From comio 2007-05-08 19:22:28 0000 -------
eix hibernate-script:
[I] sys-power/hibernate-script
     Available versions:  1.94-r5 (~)1.95_beta20070504 {logrotate vim}
     Installed versions:  1.95_beta20070504(20:18:30 04/05/2007)(-logrotate
-vim)
     Homepage:            http://www.suspend2.net/
     Description:         Hibernate script supporting multiple suspend methods


incriminated code 
[code]
scriptlets.d/modules_gentoo:10:    if [ ! -f /sbin/functions.sh ] ; then
scriptlets.d/modules_gentoo:11: vecho 1 "/sbin/functions.sh not found - not
running Gentoo? gentoo-modules disabled."
scriptlets.d/modules_gentoo:15:    . /sbin/functions.sh
[/code]

------- Comment #3 From SpanKY 2007-05-08 20:08:06 0000 -------
not a baselayout bug

------- Comment #4 From comio 2007-05-09 18:52:24 0000 -------
(In reply to comment #3)
> not a baselayout bug
> 

ok... bu too software search functions.sh in /sbin. Can you send a "line-guide"
to the others developers to signaling the differences and incompatibilities
between baselayout 1.x and 2.x?


ciao

luigi

------- Comment #5 From Alon Bar-Lev (RETIRED) 2007-05-10 22:00:40 0000 -------
Thanks!