Bug 1047568 - Disk usage limitations only accept integer values
Summary: Disk usage limitations only accept integer values
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-31 21:03 UTC by Rahul Sundaram
Modified: 2014-03-08 03:34 UTC (History)
10 users (show)

Fixed In Version: systemd-208-15.fc20
Clone Of:
Environment:
Last Closed: 2014-03-08 03:34:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2013-12-31 21:03:08 UTC
Description of problem:

SystemMaxUse=1G works but SystemMaxUse=1.0G is silently ignore

I would suggest the following improvements

1) Better document that only integers values are accepted
2) Might be convenient to extend it to support non integer values, say 1.0G or 1.5G should be acceptable
3) If unaccepted values are used, please log that as a warning when restarting the service

Comment 1 Chris Murphy 2013-12-31 21:23:19 UTC
Agreed. Or warn and also drop anything after decimal, still honoring the unit.

Comment 2 Adam Williamson 2014-02-27 07:32:40 UTC
Well, that was a spectacularly useless summary.

Comment 3 Fedora Update System 2014-03-05 21:37:55 UTC
systemd-208-15.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/systemd-208-15.fc20

Comment 4 Fedora Update System 2014-03-07 06:27:25 UTC
Package systemd-208-15.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-208-15.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3522/systemd-208-15.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-03-08 03:34:17 UTC
systemd-208-15.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.