FS#11610 - several initcpio hooks call /bin/replace, which does not exist
Attached to Project:
Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 28 September 2008, 11:31 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 28 September 2008, 14:26 GMT
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 28 September 2008, 11:31 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 28 September 2008, 14:26 GMT
|
Details
Several initcpio hooks call /bin/replace. However,
/bin/replace (or any executable called 'replace' in $PATH)
does not exist.
[dieter@dieter-mbp ~]$ grep '/bin/replace' /lib/initcpio/hooks/* /lib/initcpio/hooks/encrypt: /bin/mknod "/dev/mapper/control" c $(/bin/replace "${dev_t}" ':') /lib/initcpio/hooks/encrypt: set -- $(/bin/replace "${cryptkey}" ':'); ckdev=$1; ckarg1=$2; ckarg2=$3 /lib/initcpio/hooks/encrypt: set -- $(/bin/replace "${cryptdevice}" ':'); cryptdev="$1"; cryptname="$2"; /lib/initcpio/hooks/encrypt: do_oldcrypto $(/bin/replace -q "${crypto}" ':') /lib/initcpio/hooks/lvm2: /bin/mknod "/dev/mapper/control" c $(/bin/replace "${dev_t}" ':') [dieter@dieter-mbp ~]$ whereis replace replace: [dieter@dieter-mbp ~]$ which replace which: no replace in (/bin:/usr/bin:/sbin:/usr/sbin:/usr/share/eclipse:/opt/java/bin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core) My arch install is brand new, I have the default packages installed (and some extra's). I can give whatever more info you want if you ask :-) |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Sunday, 28 September 2008, 14:26 GMT
Reason for closing: Not a bug
Sunday, 28 September 2008, 14:26 GMT
Reason for closing: Not a bug
On another sidenote, this bug is probably invalid as the hooks are called in the initramfs environment, where /bin/replace will hopefully exist. correct?
klibc-extras /usr/lib/klibc/bin/replace
The contents of /usr/lib/klibc is what is available in initcpio environment.