diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-07 13:59:01 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-12 11:50:41 +0900 |
commit | 91dfb74ef5e38625dada2c2a6ae30152e64c3f5b (patch) | |
tree | 369045e3c8d026dfd2eae101d11daa432551819a /man/systemctl.xml | |
parent | c24b0bd1df41f9aa5607c333a223797c092995ad (diff) | |
download | systemd-91dfb74ef5e38625dada2c2a6ae30152e64c3f5b.tar.gz |
systemctl: suppress warning about missing /proc/ when --no-warn
Follow-up for 0f958c8d4fc13ed1c1af928b2a7d91d31c7576eb.
systemctl is called many times by dnf or so, and missing /proc/ is not
a user's fault, but package manager's issue.
With this commit, we can suppress the warning by updating rpm macros if
necessary.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r-- | man/systemctl.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index a4023349d5..bd64e430c3 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -2012,10 +2012,18 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err <term><option>--no-warn</option></term> <listitem> - <para>Don't generate the warning shown by default when using - <command>enable</command> or <command>disable</command> on units - without install information (i.e. don't have or have an empty - [Install] section).</para> + <para>Don't generate the warnings shown by default in the following cases: + <itemizedlist> + <listitem> + <para>when <command>systemctl</command> is invoked without procfs mounted on + <filename>/proc/</filename>,</para> + </listitem> + <listitem> + <para>when using <command>enable</command> or <command>disable</command> on units without + install information (i.e. don't have or have an empty [Install] section).</para> + </listitem> + </itemizedlist> + </para> </listitem> </varlistentry> |