First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 8549
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: walt <wsheets@sbcglobal.net>
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 8549 depends on: Show dependency tree
Bug 8549 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: 2002-09-29 17:57 0000
sys-apps/hdparm-5.2-r3 installs its init file with no
execute permissions.  Hence, the startup script gives
an error message during bootup and fails to work.

------- Comment #1 From SpanKY 2002-09-29 19:09:26 0000 -------
i know -r2 had this problem and -r3 was supposed to *fix* this ... 
can you make sure you dont just have some ._cfg0000_hdparm file laying about ? 
 
root@rux0r hdparm # ebuild hdparm-5.2-r3.ebuild install 
>>> md5 ;-) hdparm-5.2.tar.gz 
>>> Unpacking source... 
>>> Unpacking hdparm-5.2.tar.gz 
>>> Source unpacked. 
... stuff ... 
>>> Completed installing into /var/tmp/portage/hdparm-5.2-r3/image/ 
 
root@rux0r hdparm # ls -al 
/var/tmp/portage/hdparm-5.2-r3/image/etc/init.d/hdparm 
-rwxr-xr-x    1 root     root          387 Sep 29 20:07 
/var/tmp/portage/hdparm-5.2-r3/image/etc/init.d/hdparm 

------- Comment #2 From Todd Geders 2002-09-29 22:43:34 0000 -------
I can confirm this bug, permissions were not set properly.  Should be an easy
fix.

------- Comment #3 From SpanKY 2002-09-30 00:13:09 0000 -------
can you confirm my 2nd comment ?
that you dont have some ._cfg000_ file laying around ? and/or deleted it ?

------- Comment #4 From SpanKY 2002-09-30 00:46:21 0000 -------
ok, it looks like -r2 installed the original /etc/init.d/hdparm script, without 
execute permissions

if you emerge -r3, it doesnt overwrite the file or install a ._cfg0000_hdparm 
file ... that is quite odd ...

if you remove /etc/init.d/hdparm and then emerge -r3, your problem will be
fixed

------- Comment #5 From SpanKY 2002-09-30 14:27:32 0000 -------
*** Bug 8582 has been marked as a duplicate of this bug. ***

------- Comment #6 From Martin Schlemmer (RETIRED) 2002-09-30 14:37:05 0000 -------
Well, -r2 did not install it correctly, which is one of the issues -r3
addresses .. check the ChangLog ....

It do not just overwrite /etc/init.d/hdparm (-r3), due to CONFIG_PROTECT.
Thus just do the "normal thing with ._cfg*" files, and move the updated
file over the old, which should resolve the issue.

  # mv /etc/init.d/._cfg0000_hdparm /etc/init.d/hdparm


------- Comment #7 From SpanKY 2002-09-30 15:51:25 0000 -------
as i noted in comment #4, it doesnt seem to install a ._cfg0000_ file like it 
should ... 

------- Comment #8 From SpanKY 2002-10-05 14:16:10 0000 -------
*** Bug 8764 has been marked as a duplicate of this bug. ***

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