Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.conf
Show First 20 Lines • Show All 688 Lines • ▼ Show 20 Lines | |||||
entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron. | entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron. | ||||
entropy_save_sz="4096" # Size of the entropy cache files. | entropy_save_sz="4096" # Size of the entropy cache files. | ||||
entropy_save_num="8" # Number of entropy cache files to save. | entropy_save_num="8" # Number of entropy cache files to save. | ||||
harvest_mask="511" # Entropy device harvests all but the very invasive sources. | harvest_mask="511" # Entropy device harvests all but the very invasive sources. | ||||
# (See 'sysctl kern.random.harvest' and random(4)) | # (See 'sysctl kern.random.harvest' and random(4)) | ||||
osrelease_enable="YES" # Update /var/run/os-release on boot (or NO). | osrelease_enable="YES" # Update /var/run/os-release on boot (or NO). | ||||
osrelease_file="/var/run/os-release" # File to update for os-release. | osrelease_file="/var/run/os-release" # File to update for os-release. | ||||
osrelease_perms="444" # Default permission for os-release file. | osrelease_perms="444" # Default permission for os-release file. | ||||
machine_id_enable="YES" # Create /etc/machine-id on boot if missing (or NO). | |||||
machine_id_file="/var/db/machine-id" # File to update for machine-id. | |||||
tijl: I think osrelease above uses /var to support read-only /etc. So maybe you should use something… | |||||
Done Inline Actions
If you decide to do this (which probably makes sense), you'll also need to add the symlink to etc/Makefile (see rS354922) arichardson: > I think osrelease above uses /var to support read-only /etc. So maybe you should use… | |||||
Done Inline Actionsdoes it make sense to have an "ideally" static file in /var/db if so, sure, I'll move it there, and create a symlink tcberner: does it make sense to have an "ideally" static file in `/var/db` if so, sure, I'll move it… | |||||
Done Inline ActionsDoes the comment have a superfluous "if" in it (the first one)? bcr: Does the comment have a superfluous "if" in it (the first one)?
I think it would be better if… | |||||
Done Inline Actions^ does it make sense that machine_id_file this is configurable given the etc/Makefile change? tcberner: ^ does it make sense that `machine_id_file` this is configurable given the `etc/Makefile`… | |||||
machine_id_perms="444" # Default permissions for machine-id file. | |||||
dmesg_enable="YES" # Save dmesg(8) to /var/run/dmesg.boot | dmesg_enable="YES" # Save dmesg(8) to /var/run/dmesg.boot | ||||
watchdogd_enable="NO" # Start the software watchdog daemon | watchdogd_enable="NO" # Start the software watchdog daemon | ||||
watchdogd_flags="" # Flags to watchdogd (if enabled) | watchdogd_flags="" # Flags to watchdogd (if enabled) | ||||
watchdogd_timeout="" # watchdogd timeout, overrides -t in watchdogd_flags | watchdogd_timeout="" # watchdogd timeout, overrides -t in watchdogd_flags | ||||
watchdogd_shutdown_timeout="" # Timeout to use after watchdogd is stopped. | watchdogd_shutdown_timeout="" # Timeout to use after watchdogd is stopped. | ||||
# Has effect only for system shutdown. | # Has effect only for system shutdown. | ||||
# Overrides -x in watchdogd_flags. | # Overrides -x in watchdogd_flags. | ||||
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" # Files containing | devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" # Files containing | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |
I think osrelease above uses /var to support read-only /etc. So maybe you should use something like /var/db/machine-id here and make /etc/machine-id a symlink like /etc/os-release.