Bug#271724: gnome-system-tools: services-admin assumes RH style
rc?.d assignment
Osamu Aoki
Osamu Aoki <osamu@debian.org>, 271724@bugs.debian.org
Tue, 14 Sep 2004 15:12:10 +0200
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: gnome-system-tools
Version: 0.92.0-1
Severity: normal
Tags: patch
In Gnome desktop under "System tools --> Services", init-script selector
is launched. Alas, runlevels are displayed as "Graphical mode", "Text
mode", "Halting ...", "Reboot .." modes. This ain't right for Debian.
We need instead all the runlevels as Debian :-)
Debian uses runlevel
runlevel 0: Halt system
runlevel 1: Single user mode
runlevel 2: Multi user mode (default)
runlevel 3: Multi user mode (alt.)
runlevel 4: Multi user mode (alt.)
runlevel 5: Multi user mode (alt.)
runlevel 6: Reboot system
So something like attached patch should be fun :-)
(Sorry I did not use dpatch)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages gnome-system-tools depends on:
ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi
ii libatk1.0-0 1.6.1-3 The ATK accessibility toolkit
ii libbonobo2-0 2.6.2-6 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.6.1-1 The Bonobo UI library
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libgconf2-4 2.6.4-2 GNOME configuration database syste
ii libglade2-0 1:2.4.0-1 Library to load .glade files at ru
ii libglib2.0-0 2.4.6-2 The GLib library of C routines
ii libgnome2-0 2.6.1.2-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.6.1.1-2 A powerful object-oriented display
ii libgnomeui-0 2.6.1.1-4 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.6.2-2 The GNOME virtual file-system libr
ii libgtk2.0-0 2.4.9-1 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-7 Inter-Client Exchange library
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.4.1-2 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-7 X Window System Session Management
ii libxml2 2.6.11-3 GNOME XML library
ii perl 5.8.4-2.2 Larry Wall's Practical Extraction
ii xlibs 4.3.0.dfsg.1-7 X Window System client libraries m
ii zlib1g 1:1.2.1.2-1 compression library - runtime
-- no debconf information
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <osamu@debian.org> Brussels Belgium, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gnome-system-tools-0.92.0.diff"
diff -Nru gnome-system-tools-0.92.0-org/backends/service.pl.in gnome-system-tools-0.92.0/backends/service.pl.in
--- gnome-system-tools-0.92.0-org/backends/service.pl.in 2004-08-29 13:50:08.000000000 +0200
+++ gnome-system-tools-0.92.0/backends/service.pl.in 2004-09-14 14:54:52.000000000 +0200
@@ -133,9 +133,9 @@
"conectiva-9" => [3, 5],
"conectiva-10" => [3, 5],
- "debian-2.2" => [2, 3],
- "debian-3.0" => [2, 3],
- "debian-sarge" => [2, 3],
+ "debian-2.2" => [1, 5],
+ "debian-3.0" => [1, 5],
+ "debian-sarge" => [1, 5],
"suse-7.0" => [3, 5],
"suse-9.0" => [3, 5],
@@ -229,8 +229,11 @@
"6" => _("Rebooting the system")
},
"debian-2.2" => {"0" => _("Halting the system"),
- "2" => _("Graphical mode"),
- "3" => _("Text mode"),
+ "1" => _("runlevel 1 (single user mode)"),
+ "2" => _("runlevel 2 (default multi user mode)"),
+ "3" => _("runlevel 3 (alt. multi user mode)"),
+ "4" => _("runlevel 4 (alt. multi user mode)"),
+ "5" => _("runlevel 5 (alt. multi user mode)"),
"6" => _("Rebooting the system")
},
"gentoo" => {"boot" => _("Starts all system neccesary services"),
--45Z9DzgjV8m4Oswq--