The /sbin/poweroff symlink is missing from baselayout. A patch to fix this is attached.
Created attachment 5151 [details, diff] baselayout-1.8.4.1.diff
also... in sys-apps/baselayout... /sbin/rc-envupdate.sh references /bin/awk while awk is installed as /usr/bin/awk
Raker, no offense, but please check before you make assumptions like this, and then before checking with me, go and biatch by Daniel. ---------------------------------------------------------------------- workshop portage # ls -l /bin/{awk,gawk} /usr/bin/{awk,gawk} lrwxrwxrwx 1 root root 4 Jul 22 16:09 /bin/awk -> gawk lrwxrwxrwx 1 root root 10 Jul 22 16:09 /bin/gawk -> gawk-3.1.1 lrwxrwxrwx 1 root root 15 Jul 22 16:09 /usr/bin/awk -> /bin/gawk-3.1.1 lrwxrwxrwx 1 root root 15 Jul 22 16:09 /usr/bin/gawk -> /bin/gawk-3.1.1 workshop portage # ls -l /bin/gawk-3.1.1 -rwxr-xr-x 1 root root 287276 Jul 22 16:09 /bin/gawk-3.1.1 workshop portage # ----------------------------------------------------------------------- Also, this bug is fixed in latest baselayout. -------------------------------- workshop portage # epm -qG baselayout sys-apps/baselayout-1.8.4.2 workshop portage # ls -l /sbin/poweroff lrwxrwxrwx 1 root root 4 Nov 7 09:15 /sbin/poweroff -> halt workshop portage # ----------------------------------
I wasn't trying to make any assumptions... On my system, which is very up-to-date... there is no /bin/awk... be it a file or a symlink... and /usr/bin/awk was a file... not a dead symlink to /bin/awk... A problem with portage are you suggesting?
*gawk-3.1.1 (21 Jul 2002) 21 Jul 2002; Martin Schlemmmer <azarah@gentoo.org> : Update version. *gawk-3.1.0-r3 (21 Jul 2002) 21 Jul 2002; Martin Schlemmer <azarah@gentoo.org> : Move /usr/bin/awk to /bin/awk for upcomming baselayout. --- That is from sys-apps/gawk/ChangeLog. You should thus have it in /bin if you have 3.1.0-r3 or 3.1.1 installed. And that was already in June. Also, baselayout have the >=gawk-3.1.0-r3 DEPEND ...