Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9857 - /sbin/poweroff missing from baselayout
Summary: /sbin/poweroff missing from baselayout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 17:57 UTC by José Fonseca
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
baselayout-1.8.4.1.diff (baselayout-1.8.4.1.diff,312 bytes, patch)
2002-10-28 17:57 UTC, José Fonseca
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description José Fonseca 2002-10-28 17:57:08 UTC
The /sbin/poweroff symlink is missing from baselayout. A patch to fix this is
attached.
Comment 1 José Fonseca 2002-10-28 17:57:51 UTC
Created attachment 5151 [details, diff]
baselayout-1.8.4.1.diff
Comment 2 Nick Hadaway 2002-11-05 21:37:01 UTC
also...

in sys-apps/baselayout... /sbin/rc-envupdate.sh references /bin/awk while awk 
is installed as /usr/bin/awk

Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-07 01:28:02 UTC
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 # 
----------------------------------

Comment 4 Nick Hadaway 2002-11-07 02:23:14 UTC
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?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-07 02:35:19 UTC
*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 ...