Subscribed ubuntu-sru, please test and give feedback

** Description changed:

+ [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/lsb/install_initd
+ Usage: /usr/lib/lsb/install_initd /etc/init.d/<init-script>
+ 
+ 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
  ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
  Uname: Linux 3.5.0-8-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.4-0ubuntu6
  Architecture: amd64
  Date: Thu Aug  9 19:26:12 2012
  ExecutablePath: /usr/lib/lsb/install_initd
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  InterpreterPath: /usr/bin/python3.2mu
  ProcCmdline: /usr/bin/python3 /usr/lib/lsb/install_initd 
/etc/init.d/logmein-hamachi
  ProcEnviron:
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
  PythonArgs: ['/usr/lib/lsb/install_initd', '/etc/init.d/logmein-hamachi']
  SourcePackage: lsb
  Title: install_initd crashed with SyntaxError in __main__: invalid syntax
  UpgradeStatus: Upgraded to quantal on 2012-06-26 (44 days ago)
  UserGroups:
+ """

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

Title:
  [SRU] Fix lsb-core for 12.10 and 13.04

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to