Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 222867
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hopeless <hopeless@hamiltonshells.ca>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openrc-0.2.4-r1.ebuild source /etc/conf.d/clock BEFORE moving ir text/plain Hopeless 2008-05-19 23:17 0000 8.75 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 222867 depends on: Show dependency tree
Bug 222867 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-19 23:12 0000
In openrc-0.2.4-r1.ebuild, there is the following;

        # /etc/conf.d/clock moved to /etc/conf.d/hwclock
        local clock
        use kernel_FreeBSD && clock="adjkerntz" || clock="hwclock"
        if [[ -e ${ROOT}/etc/conf.d/clock ]] ; then
                mv "${ROOT}"/etc/conf.d/clock "${ROOT}"/etc/conf.d/${clock}
        fi

followed a little later by;

        # upgrade timezone file
        if [[ -e ${ROOT}/etc/conf.d/clock && ! -e ${ROOT}/etc/timezone ]] ;
then
                (
                source "${ROOT}"/etc/conf.d/clock
                [[ -n ${TIMEZONE} ]] && echo "${TIMEZONE}" >
"${ROOT}"/etc/timezone
                )
        fi

The second part is never executed, because ${ROOT}/etc/conf.d/clock has already
been moved by the first...



Reproducible: Always

------- Comment #1 From Hopeless 2008-05-19 23:17:13 0000 -------
Created an attachment (id=153701) [details]
source /etc/conf.d/clock BEFORE moving ir

Updated ebuild, simply moving the section which creates /etc/timezone before
the section which moves /etc/conf.d/clock

------- Comment #2 From SpanKY 2008-05-31 07:03:03 0000 -------
(From update of attachment 153701 [details])
do not post complete files ... it makes it a pain for developers to review. 
post diffs.

------- Comment #3 From SpanKY 2008-05-31 07:04:29 0000 -------
fixed in cvs, thanks for the report/fix

http://sources.gentoo.org/sys-apps/openrc/openrc-0.2.5.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/sys-apps/openrc/openrc-9999.ebuild?r1=1.33&r2=1.34

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug