Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177690 - sys-power/hibernate-script should use /etc/init.d/functions.sh not /sbin/functions.sh
Summary: sys-power/hibernate-script should use /etc/init.d/functions.sh not /sbin/func...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-08 18:46 UTC by Luigi 'Comio' Mantellini
Modified: 2007-05-10 22:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi 'Comio' Mantellini 2007-05-08 18:46:10 UTC
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 SpanKY gentoo-dev 2007-05-08 18:52:32 UTC
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 Luigi 'Comio' Mantellini 2007-05-08 19:22:28 UTC
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 SpanKY gentoo-dev 2007-05-08 20:08:06 UTC
not a baselayout bug
Comment 4 Luigi 'Comio' Mantellini 2007-05-09 18:52:24 UTC
(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 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-10 22:00:40 UTC
Thanks!