First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 1143
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Loitsch <gentoo-bug@abc.delta64.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2002-03-14 07:27 0000
/etc/init.d/apmd start fails saying that another apmd is already
started, and I should delete /var/run/apdm.pid if this is not correct.

Found out, that apmd creates its pid-file and the option 
--make-pidfile --pidfile /var/run/apmd.pid tries to create another one

fix: change to:
#       start-stop-daemon --start --quiet --exec /usr/sbin/apmd \
#               --make-pidfile --pidfile /var/run/apmd.pid -- ${APMD_OPTS}
        start-stop-daemon --start --quiet --exec /usr/sbin/apmd -- ${APMD_OPTS}

------- Comment #1 From Martin Schlemmer (RETIRED) 2002-03-14 15:47:09 0000 -------
Hi

I do not use APM, but ACPI, so if you could help me here ..

Try to change it to:

    start-stop-daemon --start --quiet --pidfile /var/run/apmd.pid \
        --startas /usr/sbin/apmd -- ${APMD_OPTS}

and see if that works fine.

The difference is, it will start apmd, and then check if the pid is created ok.

------- Comment #2 From Donny Davies (RETIRED) 2002-03-17 21:30:07 0000 -------
fixed.  thanks to Christian and Azarah for analysis.


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