[Bug 798192] Re: install_initd fails

Aaron Sowry aaron at cendio.com
Mon Feb 13 09:56:02 UTC 2012


I'm seeing this on 12.04 Alpha too. Seems to be due to the fact that the
hashbang in install_initrd specifies python3, but its dependency
'initdutils' does not comply to python3 syntax.

** Changed in: lsb (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/798192

Title:
  install_initd fails

Status in “lsb” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: lsb

  This just started yesterday. I do continual LSB testing of Ubuntu-
  latest, usually once a week or so. The lsb-apache package (part of the
  application battery, part of the distro certification tests) runs the
  following scripts at install/uninstall:

  /usr/lib/lsb/install_initd /etc/init.d/lsb-apache
  /usr/lib/lsb/remove_initd /etc/init.d/lsb-apache

  Running the latter on the current system, when alien/dpkg installs the
  package yields:

   root at ubuntu-latest-32:~# /usr/lib/lsb/install_initd /etc/init.d/lsb-apache
  Traceback (most recent call last):
    File "/usr/lib/lsb/install_initd", line 3, in <module>
      import sys, re, os, initdutils
    File "/usr/lib/lsb/initdutils.py", line 18
      raise ValueError, 'need a file or string'
                      ^
  SyntaxError: invalid syntax

  I'm also seeing failures in the core-test "init" tests, which could be
  related to this same issue, as they also install/remove a couple of
  dummy init scripts and look at the starup/shutdown dependency stack.

  Bugs at our end, for reference:
  http://bugs.linuxbase.org/show_bug.cgi?id=3262 (lsb-apache)
  http://bugs.linuxbase.org/show_bug.cgi?id=3261 (init tests)

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lsb-core 4.0-0ubuntu13
  ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
  Uname: Linux 3.0-0-generic i686
  Architecture: i386
  Date: Thu Jun 16 08:09:14 2011
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: lsb
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/798192/+subscriptions




More information about the foundations-bugs mailing list