[SRU] Fix lsb-core for 12.10 and 13.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Won't Fix
|
Medium
|
Brian Murray | ||
Raring |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
[Impact]
This bug makes certian LSB applications unusable.
As Ubuntu 12.10 and 13.04 will still be around for a while, this bug is worth fixing.
The fixes are in the related branch, the purpose of the fixes are simple, make the affected scripts compatible with Python 3 as they are expected to.
[Test Case]
$ /usr/lib/
Usage: /usr/lib/
Better to test with actual LSB applications that uses scripts under /usr/lib/lsb/
[Regression Potential]
Almost zero, as the origin scripts in lsb-core just crashes.
[Other Info]
This problem is mostly due to incompatibilty of Python 2/3 and Ubuntu's clumsy way of port LSB scripts to Python 3 (calling 2to3 in debian/rules)
Origin bug report:
"""
Received a crash after installing an app
ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: lsb-core 4.0-0ubuntu22
ProcVersionSign
Uname: Linux 3.5.0-8-generic x86_64
NonfreeKernelMo
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Thu Aug 9 19:26:12 2012
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/
ProcCmdline: /usr/bin/python3 /usr/lib/
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: lsb
Title: install_initd crashed with SyntaxError in __main__: invalid syntax
UpgradeStatus: Upgraded to quantal on 2012-06-26 (44 days ago)
UserGroups:
"""
tags: | removed: need-duplicate-check |
Changed in lsb (Ubuntu): | |
importance: | Undecided → Medium |
Changed in lsb (Ubuntu): | |
status: | Fix Released → Fix Committed |
summary: |
- install_initd crashed with SyntaxError in __main__: invalid syntax + [SRU] Fix lsb-core for 12.10 and 13.04 |
Changed in lsb (Ubuntu Quantal): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in lsb (Ubuntu Raring): | |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | added: verification-done-raring |
tags: |
added: verification-needed-quantal removed: verification-needed |
As logmein-hamachi isn't provided by an Ubuntu package I don't believe we can do anything about this as it looks like install_initd is crashing trying to parse the /etc/init. d/logmein- hamachi file.