swift/bin
Matthew Vernon e838d8a947 swift-drive-audit: reload systemd after editing fstab
Systemd does not monitor /etc/fstab for changes; so a filesystem
unmounted and commented-out in fstab will be re-mounted by systemd
after some time.

This change means that swift-drive-audit will call systemcl
daemon-reload (which causes systemd to reload its configuration
including /etc/fstab) after editing /etc/fstab on systems where
systemd is the running init. Check for that case by looking for the
existence of the directory /run/systemd/system, as documented in
sd_booted(3).

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
Change-Id: I8830e3da9b6b085224511ac351f2d2860119c432
2022-09-30 09:47:24 +01:00
..
swift-account-audit swift-account-audit: Log the bad status 2021-04-08 17:34:49 -07:00
swift-account-auditor Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-account-info Run flake8 on bin/ files 2021-02-01 13:26:53 -08:00
swift-account-reaper Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-account-replicator Support -d <devs> and -p <partitions> in DB replicators. 2018-03-05 16:26:19 -08:00
swift-account-server make the bind_port config setting required 2014-09-08 07:28:43 -07:00
swift-config Run flake8 on bin/ files 2021-02-01 13:26:53 -08:00
swift-container-auditor Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-container-info Run flake8 on bin/ files 2021-02-01 13:26:53 -08:00
swift-container-reconciler Add container-reconciler daemon 2014-06-18 17:31:39 -07:00
swift-container-replicator Support -d <devs> and -p <partitions> in DB replicators. 2018-03-05 16:26:19 -08:00
swift-container-server make the bind_port config setting required 2014-09-08 07:28:43 -07:00
swift-container-sharder Populate shrinking shards with shard ranges learnt from root 2020-12-18 11:33:48 +00:00
swift-container-sync Fix shebang of commands 2015-08-06 11:02:40 +09:00
swift-container-updater Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-dispersion-populate py3: Fix swift-dispersion-populate 2020-09-11 19:35:32 +00:00
swift-dispersion-report Add bin/swift-dispersion-report 2017-09-13 05:57:30 +00:00
swift-drive-audit swift-drive-audit: reload systemd after editing fstab 2022-09-30 09:47:24 +01:00
swift-form-signature Make swift-form-signature testable 2014-07-24 14:38:53 -07:00
swift-get-nodes swift-get-nodes: Allow users to specify either quoted or unquoted paths 2020-06-08 12:03:56 -07:00
swift-init Merge "Add description of server options (all, main, rest) for swift-init help" 2016-07-08 23:31:20 +00:00
swift-object-auditor Allow specification of object devices for audit 2014-03-11 14:17:08 +00:00
swift-object-expirer Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-object-info Merge "Optionally drop common prefixes in swift-*-info output" 2018-03-13 03:39:02 +00:00
swift-object-reconstructor Clarify usage of replicator and reconstructor override options 2017-07-26 12:53:46 +01:00
swift-object-relinker relinker: Pull arg parsing into module 2021-02-08 13:46:28 -08:00
swift-object-replicator Clarify usage of replicator and reconstructor override options 2017-07-26 12:53:46 +01:00
swift-object-server make the bind_port config setting required 2014-09-08 07:28:43 -07:00
swift-object-updater Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
swift-oldies Run flake8 on bin/ files 2021-02-01 13:26:53 -08:00
swift-orphans Find .d pid files with swift-orphans 2019-08-30 11:54:47 -07:00
swift-proxy-server make the bind_port config setting required 2014-09-08 07:28:43 -07:00
swift-recon Fix shebang of commands 2015-08-06 11:02:40 +09:00
swift-recon-cron recon: refactor common recon names into a common location 2021-06-29 15:22:57 -07:00
swift-reconciler-enqueue Another amendment with missing parenthesis 2016-07-07 20:15:14 +03:00
swift-ring-builder swift-ring-builder: exit ERROR (2) on uncaught exceptions 2022-02-15 14:29:14 +00:00
swift-ring-builder-analyzer Fix shebang of commands 2015-08-06 11:02:40 +09:00
swift-ring-composer Experimental swift-ring-composer CLI to build composite rings 2018-06-14 09:50:55 +01:00