[Python-apps-team] Bug#472117: startupmanager: Crashes without notification on ppc

Rudy Godoy rudy at stone-head.org
Sat Mar 22 08:10:47 UTC 2008


Package: startupmanager
Version: 1.9.10-3
Severity: important
Tags: patch

On a ppc box (iBook) having installed usplash and grub2, the program
starts ok until the point that is doing pre-config checks.
Suddely after displaying that window, the program is gone.

Running it interactively it shows:
grub-probe: error: /boot/grub/device.map:1: Bad device name
Grub2 detected
Usplash detected
Splashy not detected
File /boot/grub/grub.cfg does not exist.


Which is correct, however it shouldn't make the program
crash nor making impossible to configure usplash, which
is present and correctly detected.

By doing some debugging I've managed to get it work
and display usplash configuration using the attached
patch. However, it does not seem to work to get startupmanager
properly handling usplash configuration on this use case.

Since I'm not quite familiar with the code, I'm looking for
ideas on where should we go next for fixing this.

--- startupmanager-1.9.10.orig/bootconfig/grub.py
+++ startupmanager-1.9.10/bootconfig/grub.py
@@ -40,6 +40,7 @@
         for path in [self.update_grub_command,
                      self.grub_install_command,
                      self.config_file,
+                     self.readonly_config_file,
                      self.header_config_file]:
             if not os.path.isfile(path):
                 raise SystemExit('Fatal error. Can not find %s' % path)


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
Locale: LANG=es_PE.UTF-8, LC_CTYPE=es_PE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages startupmanager depends on:
ii  grub-ieee1275 [grub]   1.96+20080228-1   GRand Unified Bootloader, version 
ii  imagemagick            7:6.3.7.9.dfsg1-2 image manipulation programs
ii  menu                   2.1.38            generates programs menu for all me
ii  python                 2.4.4-6           An interactive high-level object-o
ii  python-central         0.6.1             register and build utility for Pyt
ii  python-glade2          2.12.1-1          GTK+ bindings: Glade support
ii  python-gnome2          2.20.1-2          Python bindings for the GNOME desk
ii  python-libxml2         2.6.31.dfsg-2     Python bindings for the GNOME XML 
ii  yelp                   2.22.0-1          Help browser for GNOME 2

startupmanager recommends no packages.

-- no debconf information





More information about the Python-apps-team mailing list