Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggested change to init script #307

Closed
Zugschlus opened this issue Jun 1, 2024 · 3 comments
Closed

suggested change to init script #307

Zugschlus opened this issue Jun 1, 2024 · 3 comments

Comments

@Zugschlus
Copy link
Contributor

Hi,

in Debian, we have been using this patch since 2016:

--- a/atop.init
+++ b/atop.init
@@ -7,8 +7,8 @@
#
### BEGIN INIT INFO
# Provides:             atop
-# Required-Start:      $local_fs
-# Required-Stop:       $local_fs
+# Required-Start:      $local_fs $remote_fs
+# Required-Stop:       $local_fs $remote_fs
# Default-Start:       2 3 4 5
# Default-Stop:                0 1 6
# Short-Description: Advanced system and process activity monitor
--- a/atopacct.init
+++ b/atopacct.init
@@ -7,8 +7,8 @@
#
### BEGIN INIT INFO
# Provides:             atopacct
-# Required-Start:      $local_fs
-# Required-Stop:       $local_fs
+# Required-Start:      $local_fs $remote_fs
+# Required-Stop:       $local_fs $remote_fs
# Default-Start:       2 3 4 5
# Default-Stop:                0 1 6
# Description:          This daemon switches on process accounting and

I had submitted that one in pre-github times via the web form but would like to have an URL that documents the forwarding. hence, re-submitting.

I am not sure whether this is still needed since most distributions have migrated to merged-/usr since 2016, but in a distribution that still uses the init script they might as well have /usr mounted via NFS.

@Atoptool
Copy link
Owner

I can not really judge if this modification introduces incompatibilities for other (init-based) distributions.
Do you have an opinion about that?

@Zugschlus
Copy link
Contributor Author

I have never used a system that had its /usr on a network file system, but from a Debian point of view the omission of remote_fs would have been a bug from the very beginning.

@Atoptool
Copy link
Owner

Suggested change implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants