Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21384 - baselayout-1.8.6.8 makes bogus change to /etc/init.d/bootmisc
Summary: baselayout-1.8.6.8 makes bogus change to /etc/init.d/bootmisc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 21:49 UTC by Gunnlaugur Thor Briem
Modified: 2003-05-21 14:00 UTC (History)
3 users (show)

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


Attachments
running (running,3.98 KB, text/plain)
2003-05-20 22:45 UTC, Lim Swee Tat (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnlaugur Thor Briem 2003-05-20 21:49:30 UTC
The baselayout-1.8.6.8 ebuild changes these lines in bootmisc:

                if [ -x /sbin/rc-envupdate.sh ]
                then
                        ebegin "Updating environment"
                        /sbin/rc-envupdate.sh >/dev/null
                        eend 0
                fi

to

                if [ -x /sbin/rc-envupdate.sh ]
                then
                        ebegin "Updating environment"
                        /sbin/env-update.sh >/dev/null
                        eend 0
                fi

but presumably the script name in the -x clause should have changed
accordingly? So it should be 

                if [ -x /sbin/env-update.sh ]
                then
                        ebegin "Updating environment"
                        /sbin/env-update.sh >/dev/null
                        eend 0
                fi

Unless there's a sneaky twist I'm missing :)
Comment 1 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-20 22:45:09 UTC
Created attachment 12221 [details]
running

Changed first line of /sbin/runscript.sh so that it reads:

#!/bin/bash -x

Then ran:
/etc/init.d/depscan.sh
/etc/init.d/net.eth0 start > running 2>&1

This is the result.
Comment 2 Lim Swee Tat (RETIRED) gentoo-dev 2003-05-20 23:03:39 UTC
Ooops, wrong bug submission.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 14:00:01 UTC
Sharp eye ... fixed in CVS, thanks.