<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>177690</bug_id>
          
          <creation_ts>2007-05-08 18:46 0000</creation_ts>
          <short_desc>sys-power/hibernate-script should use /etc/init.d/functions.sh not /sbin/functions.sh</short_desc>
          <delta_ts>2007-05-10 22:00:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>lmantellini@hotmail.com</reporter>
          <assigned_to>alonbl@gentoo.org</assigned_to>
          <cc>mobile@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>lmantellini@hotmail.com</who>
            <bug_when>2007-05-08 18:46:10 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-05-08 18:52:32 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmantellini@hotmail.com</who>
            <bug_when>2007-05-08 19:22:28 0000</bug_when>
            <thetext>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 &quot;/sbin/functions.sh not found - not running Gentoo? gentoo-modules disabled.&quot;
scriptlets.d/modules_gentoo:15:    . /sbin/functions.sh
[/code]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-05-08 20:08:06 0000</bug_when>
            <thetext>not a baselayout bug</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmantellini@hotmail.com</who>
            <bug_when>2007-05-09 18:52:24 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; not a baselayout bug
&gt; 

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


ciao

luigi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-05-10 22:00:40 0000</bug_when>
            <thetext>Thanks!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>