mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
c826cd3f7cfd950c8a86d57dfa6303f70de3e207
https://bugzilla.redhat.com/show_bug.cgi?id=1227736#c49 We counted how many filesystems could not be unmounted, but only for those filesystems which we tried to unmount. Since we only remount / ro, without attempting to unmount, we would emit a confusing error message: Remounting '/' read-only with options 'seclabel,space_cache,subvolid=5,subvol=/'. Remounting '/' read-only with options 'seclabel,space_cache,subvolid=5,subvol=/'. Remounting '/' read-only with options 'seclabel,space_cache,subvolid=5,subvol=/'. All filesystems unmounted. Warn when remount-ro fails, and for filesystems which we won't try to unmount, include the failure to remount-ro in n_failed. A few minor cleanups: - remove unecessary goto which jumps to the next line anyway - always calculate n_failed, even if log_error is false. This causes no change in behaviour, but I think the code is easier to follow, since the log setting cannot influence other logic.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Description
Languages
C
89%
Python
5.1%
Shell
4.5%
Meson
1.2%