mdadm does not start automatically at boot due to LOG_DAEMON_MSG being unset

Bug #770381 reported by Clint Byrum
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lsb (Ubuntu)
Fix Released
Undecided
Unassigned
mdadm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mdadm

On bootup, instead of starting properly mdadm's init script reports this to the console:

 /etc/rc2.d/S25mdadm: 76: LOG_DAEMON_MSG: parameter not set

Adding

LOG_DAEMON_MSG=""

to the top of /etc/lsb-base-logging.sh fixes this issue, and I would assume would fix the issue for any other init scripts that run with 'set -u' like mdadm does

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mdadm 3.1.4-1+8efb9d1ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Mon Apr 25 10:01:58 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release i386 (20110425)
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic-pae root=UUID=5e3768b4-c097-4b51-bcea-679b43aa6a9d ro quiet
SourcePackage: mdadm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'

Revision history for this message
Clint Byrum (clint-fewbar) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lsb - 4.0-0ubuntu11

---------------
lsb (4.0-0ubuntu11) natty; urgency=low

  * Make sure LOG_DAEMON_MSG is set to avoid init scripts crashing when
    running with -u (LP: #770381)
 -- Stephane Graber <email address hidden> Mon, 25 Apr 2011 13:13:07 -0400

Changed in lsb (Ubuntu):
status: New → Fix Released
tags: added: iso-testing
Changed in mdadm (Ubuntu):
status: New → Invalid
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Just finished running through the iso test and confirming that this is fixed in the latest server iso (20110426)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.