Bug#754064: procps: kernel paramaters not set

Michael Biebl biebl at debian.org
Wed Jul 16 23:55:17 BST 2014


Am 15.07.2014 18:17, schrieb Michal Suchanek:
> Excerpts from Michael Biebl's message of Tue Jul 15 15:44:24 +0200 2014:
>> Please also mention which version of systemd and systemd-sysv you have
>> installed.
>>
> 
> ii  systemd                       204-14              amd64
> system and service manager
> ii  systemd-sysv                  204-14              amd64
> system and service manager - SysV links
> 
> The only variables I care about are 
> 
> vm.dirty_background_ratio
> vm.dirty_ratio
> 
> which default to 40/60 and I set them to 2/5

That looks like they might be reset by pm-utils. See

pm-utils (1.4.1-15) unstable; urgency=medium

  * laptop-mode: If there is no state file (such as at boot), don't overwrite
    /proc/sys/vm/ values with fixed kernel defaults, simply do nothing. This
    allows sysctl.conf to set these values. Thanks to Osamu Aoki!
    (Closes: #659260)
  * Add 17-fix-wireless-hook.patch: Fix typo in wireless hook to make enabled
    check actually work. Thanks to Whoopie! (LP: #1299975)

 -- Martin Pitt <mpitt at debian.org>  Thu, 10 Jul 2014 14:58:31 +0200



If you run
touch /etc/pm/power.d/laptop-mode
and reboot, is the sysfs value correctly set?

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140717/badc2e6a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list