First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 204822
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Guillaume Castagnino <casta@xwing.info>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
apache-init-deprecated.patch apache-init-deprecated.patch patch Guillaume Castagnino 2008-01-07 21:08 0000 911 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 204822 depends on: Show dependency tree
Bug 204822 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-01-07 21:07 0000
Hi,

The Gentoo init script for apache2 (2.2.6-r6 at least, not tested other
version, but I think it should be the same) use the old deprecated "myservice"
var in "reload", "graceful" and "gracefulstop" init script functions.

This "$myservice" var is always defined with baselayout-1.12*, but is marked as
deprecated and does not work anymore with baselayout-2 (var no more defined),
so the init script is simply broken with baselayout-2

Extract from the baselayout changelog that speaks about this deprecation :

02 Mar 2006; Roy Marples <uberlord@gentoo.org>:

    $myservice is now deprecated for init scripts.
    $SVCNAME should be used instead and is read-only so it cannot be
    clobbered.


Please could you update ?
The small patch against 2.2.6-r6 apache patchset follows (simply replacing
myservice with SVCNAME)

Thanks

------- Comment #1 From Guillaume Castagnino 2008-01-07 21:08:29 0000 -------
Created an attachment (id=140409) [details]
apache-init-deprecated.patch

patch that fix the apache init script for baselayout-2 replacing deprecated
vars

------- Comment #2 From Benedikt Böhm 2008-01-07 22:59:18 0000 -------
fixed in -r7, thanks

First Last Prev Next    No search results available      Search page      Enter new bug