Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 62275
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: Steve Dibb <beandog@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
62275.patch Simple patch to fix typo. patch Thomas Kirchner 2004-09-04 14:38 0000 467 bytes Details | Diff
62275.patch Fixed patch, no colors (I was tired) patch Thomas Kirchner 2004-09-04 14:45 0000 324 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 62275 depends on: Show dependency tree
Bug 62275 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: 2004-08-30 10:27 0000
There's a typo in the configuration file for sys-apps/hdparm in
files/hdparm-conf.d and hdparm-conf.d.3

The line that reads "# disc1_args"-d1"" should be: "# disc1_args="-d1"".  It is
missing an = sign between disc1_args and "-d1".

Reproducible: Always
Steps to Reproduce:
1. edit /etc/conf.d/hdparm
2. comment default all_args="-d1"
3. uncomment disc1_args"-d1"
4. # /etc/init.d/hdparm restart

Actual Results:  
flynn root # /etc/init.d/hdparm restart
/sbin/runscript.sh: line 9: disc1_args-d1: command not found
 * WARNING:  you are stopping a boot service.
 * Starting hdparm...                                                     [ ok
]

Expected Results:  
flynn root # /etc/init.d/hdparm restart
 * WARNING:  you are stopping a boot service.
 * Starting hdparm...                                                     [ ok
]
 * Running hdparm on /dev/discs/disc1/disc...

------- Comment #1 From Andrew Ross (RETIRED) 2004-09-03 23:56:11 0000 -------
Could someone please close this, as the files have already been fixed:

aross@aross-laptop files $ grep all_args hdparm-conf.d*
hdparm-conf.d:# Or, you can set hdparm options for ALL drives using all_args..
hdparm-conf.d:all_args="-d1"
hdparm-conf.d.3:# or, you can set hdparm options for ALL drives using all_args, e.g.
hdparm-conf.d.3:all_args="-d1"

------- Comment #2 From Andrew Ross (RETIRED) 2004-09-03 23:57:12 0000 -------
Sorry, my bad (misread the problem). If only we could delete comments...
*sheepish grin*

------- Comment #3 From Thomas Kirchner 2004-09-04 14:38:41 0000 -------
Created an attachment (id=38930) [details]
Simple patch to fix typo.

------- Comment #4 From Thomas Kirchner 2004-09-04 14:45:51 0000 -------
Created an attachment (id=38933) [details]
Fixed patch, no colors (I was tired)

------- Comment #5 From Sven Wegener 2004-09-05 19:18:20 0000 -------
Commited to CVS. Thanks for reporting!

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