FS#33476 - Enable sysfs.conf for persistent sysfs settings
Attached to Project:
Arch Linux
Opened by Curtis (foxcm2000) - Sunday, 20 January 2013, 16:26 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 22 January 2013, 21:07 GMT
Opened by Curtis (foxcm2000) - Sunday, 20 January 2013, 16:26 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 22 January 2013, 21:07 GMT
|
Details
Description:
For years the /etc/sysctl.conf file has stored non-default settings for entries under /proc/sys so that the corresponding /proc/sys entries are automatically updated when the system reboots. Sysfs lacks an easy way to store persistent settings in a simple configuration file. In the past, a hacked rc.local file with a series of "echo X > /sys/xxx/yyy/zzz" was used to override default sysfs settings. In addition to being rather ugly, the rc.local service is now at best a second-class citizen with the adoption of systemd in Arch. Arch linux should adopt a /etc/sysfs.conf setup that enables saving persistent settings under /sys in the same manner as the already familiar /etc/sysctl.conf file does for /proc/sys. This could be expanded to include a directory structure such as /etc/sysfs.d that includes individual config files in a similar manner to /etc/sysctl.d. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 22 January 2013, 21:07 GMT
Reason for closing: Not a bug
Additional comments about closing: man tmpfiles.d
Tuesday, 22 January 2013, 21:07 GMT
Reason for closing: Not a bug
Additional comments about closing: man tmpfiles.d
In particular, note the 'w' action.