Bug 19163

Summary: Missing /etc/hdparm.conf or /etc/hdparm.conf.example after hdparm installation
Product: Mageia Reporter: jm.dev
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: fundawang, luigiwalser, marja11, supp
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: hdparm-9.48-2.mga6 CVE:
Status comment:

Description jm.dev 2016-08-09 14:10:35 CEST
-Description of problem:
Missing /etc/hdparm.conf or at least /etc/hdparm.conf.example after hdparm installation

-Version-Release number of selected component (if applicable):
hdparm-9.48-2.mga6

-How reproducible:
Install hdparm


-Steps to Reproduce:
1. hdparm installation from control center
2. ls /etc/hdparm.conf or ls /etc/hdparm.conf.example
3. no file output

-Proposal to resolve the issue
Add at least a /etc/hdparm.conf.example file to make easier the configuration of hdparm.conf file.
Comment 1 Marja Van Waes 2016-08-10 11:00:51 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

Also CC'ing some committers.

CC: (none) => fundawang, luigiwalser, marja11, supp
Assignee: bugsquad => pkg-bugs

Comment 2 David Walser 2016-08-10 14:48:02 CEST
hdparm.conf is a configuration file that you can optionally create, not something the package needs.  Our init scripts use /etc/sysconfig/harddisks for hdparm settings.  You can also make, for instance, /etc/sysconfig/harddisksda, for settings to only apply to a certain disk.

I'm not saying an example config is a bad idea, but even then it should be in /usr/share/doc/hdparm, not /etc.  Upstream would be the ideal source to supply one.

Status: NEW => RESOLVED
Resolution: (none) => INVALID