Bug#401999: mdadm fails to upgrade in testing. Can't start service.

martin f krafft madduck at debian.org
Fri Dec 8 08:59:15 CET 2006


reassign 401999 splashy
retitle 401999 references undefined variable $RUNLEVEL in lsb-base-logging.sh
thanks

also sprach Raúl Sánchez Siles <rss at barracuda.es> [2006.12.07.1548 +0400]:
> I also attach the file /etc/lsb-base-logging.sh which belongs to package
> splashy version 0.2.2

Thanks for the report. This is indeed a problem, but I think the bug
is in splashy, which references $RUNLEVEL even though it has not
been defined. Due to my use of set -u, this causes the mdadm script
to bail out, as it sources the splashy file.

I am thus reassigning this bug to splashy and hope that Otavio will
fix it. Otavio: if you're unwilling or unable to apply my patch,
please reassign back so that I can upload a new mdadm which hacks
around the problem.

The fix is simply to replace

  if [ -z "$RUNLEVEL" ]; then

with

  if [ -z "${RUNLEVEL:-}" ]; then

Thanks,

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20061208/58598aa3/attachment.pgp


More information about the pkg-mdadm-devel mailing list