Package: slurm-llnl-slurmdbd
Version: 2.3.4-2+b1
Tags: patch

Dear Maintainer,

When booting, slurmdbd always fail to start because the system tries to start
it before mysql.

After adding a dependency in /etc/init.d/slurm-llnl-slurmdbd the problem
disappeared.

Below is a patch that solves the problem for our configuration.

Since slurmdbd can be used without mysql, the dependency is added
as a Should-Start/Should-Stop instead of a Required-Start/Required-Stop.


Best regards,
Stéphane Vaillant


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

-- Local configuration:
/etc/slurm-llnl/slurmdbd.conf contains:
  StorageType=accounting_storage/mysql



diff -ur slurm-llnl-2.3.4/debian/slurm-llnl.init.d 
slurm-llnl-2.3.4-new/debian/slurm-llnl.init.d
--- slurm-llnl-2.3.4/debian/slurm-llnl.init.d   2011-04-04 15:39:29.000000000 
+0200
+++ slurm-llnl-2.3.4-new/debian/slurm-llnl.init.d       2014-01-17 
14:25:19.182376777 +0100
@@ -17,8 +17,8 @@
 # Provides:          slurm-llnl
 # Required-Start:    $remote_fs $syslog $network munge
 # Required-Stop:     $remote_fs $syslog $network munge
-# Should-Start:      $named
-# Should-Stop:       $named
+# Should-Start:      $named mysql
+# Should-Stop:       $named mysql
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: slurm daemon management


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to