Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36318 - logrotate ionice idle warning

Attached to Project: Arch Linux
Opened by Cláudio (cvalente) - Monday, 29 July 2013, 14:32 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 25 August 2013, 07:07 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When one specifies

IONICE_CLASS=3

(idle class)

in /etc/cron.daily/logrotate

the executing prints the following warning message:

ionice: ignoring given class data for idle class

This is due to the fact that the execution line is:

/usr/bin/ionice -c 3 -n 7 ...

When it should have just been:
/usr/bin/ionice -c 3 ...

because -n seems to be incompatible with -c 3 (idle)

The attached patch solves this with no plausible serious side effects
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 25 August 2013, 07:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in svn trunk

Loading...