pm-utils overrides custom "commit=100" fstab mount option with "commit=0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I changed my /etc/fstab to tune the performance of the root file-system. Here is the relevant line from /etc/fstab:
UUID=f51aa298-
However, when the system boots and I type "mount" I get the following output:
/dev/sda1 on / type ext4 (rw,noatime,
Notice the "commit=0" at the end.
Googling the problem led me to a work-around - editing the "/usr/lib/
JOURNAL_
to be:
JOURNAL_
I would expect pm-utils to check for any existing flags in fstab that conflict with the settings it wishes to set, and do not override them.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pm-utils 1.4.1-3ubuntu1 [modified: usr/lib/
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Sun Jul 24 22:12:31 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: pm-utils
Changed in pm-utils (Ubuntu): | |
status: | New → Confirmed |
I do not think this is bug in program.
You may call this script as hard to read script with less than sufficient documentation.
Solution is to create a file in /etc/pm/ config. d/SET_JOURNAL_ COMMIT_ TIME_AC with its content:
<pre> COMMIT_ TIME_AC= 100
JOURNAL_
</pre>
Then it works :-) <email address hidden>