From mboxrd@z Thu Jan 1 00:00:00 1970 From: Piter PUNK Date: Tue, 07 Nov 2006 11:35:01 +0000 Subject: Re: rule_generator.functions: invalid PATH? Message-Id: <45506F65.5000604@terra.com.br> List-Id: References: <454EA668.7030203@kadzban.is-a-geek.net> In-Reply-To: <454EA668.7030203@kadzban.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > On Nov 06, Bryan Kadzban wrote: >> At the start of the extras/rule_generator/rule_generator.functions file, >> PATH is set to just "/sbin:/bin". However, the sysreadlink function >> uses the readlink program from coreutils, which is (by default anyway) >> installed in /usr/bin. The function also does not specify an explicit > Not in Debian. One of the design requirements of the script was to not > require anything in /usr, which many not be mounted at the time it is > run. > Which distributions do not provide readlink in /bin? Slackware 11: /usr/bin/readlink RHEL 4: /usr/bin/readlink SuSE 9 and 10: /usr/bin/readlink LFS: /usr/bin/readlink CentOS 4.4: /usr/bin/readlink Fedora 4: /usr/bin/readlink Gentoo, ArchLinux, Mandriva2007 and the Debian derived distros had the readlink in /bin. Piter PUNK -- | E-Mail: piterpk@terra.com.br (personal) .|. roberto.batista@ntux.com.br (professional) /V\ // \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br /( )\ ^`~'^ ----> Slackware Linux - The Best One! <---- #105432 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel