Bug#749330: systemd: The sysctl service is not started correctly at boot

Michael Biebl biebl at debian.org
Mon May 26 19:01:27 BST 2014


Am 26.05.2014 19:53, schrieb Michael Biebl:
> Am 26.05.2014 15:10, schrieb Patrick Häcker:
>> Package: systemd
>> Version: 208-1
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> I have a file
>>> /etc/sysctl.d/98-save-power.conf
>> containing the line
>>> vm.dirty_writeback_centisecs = 1500
>> which is used as an example to describe the bug in the following.
>>
>> After boot,
>>> cat /proc/sys/vm/dirty_writeback_centisecs
>> returns
>>> 500,
> 
> 
> Do you use any power management tools, like acpi-support,
> laptop-mode-tools or pm-utils? If so, one of those might be setting that
> value on ac/battery changes.

I suspect laptop-mode-tools is the culprit:

http://sources.debian.net/src/laptop-mode-tools/1.64-1/usr/share/laptop-mode-tools/modules/laptop-mode?hl=418#L418

set_sysctl /proc/sys/vm/dirty_writeback_centisecs   "$U_AGE"

and

usr/share/laptop-mode-tools/modules/laptop-mode:	U_AGE=$((100*$DEF_UPDATE))
usr/sbin/laptop_mode:DEF_UPDATE=5

→ there you have your 500





-- 
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/20140526/7e04577a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list