Bug 366355

Summary: yast2 runlevel doesn't show any services
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: clarkt
Version: Alpha 2   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs

Description Casual J. Programmer 2008-03-01 10:46:27 UTC
Notebook: Fujitsu Siemens Amilo Si 1520
Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express
Monitor:  QUANTADISPLAY LCD Monitor 1280x800@60Hz
Wireless: Intel PRO/Wireless 3945ABG Network Connection
Sound:    82801G (ICH7 Family) High Definition Audio Controller
Desktop:  gnome2-SuSE-10.3-160
YaST GUI: yast2-qt-2.16.31-3
OS:       openSUSE 11.0 (i586) Alpha2 VERSION = 11.0
Kernel:   2.6.24.1-6-default

rpm -qa | grep yast2 | sort

autoyast2-2.16.7-8
autoyast2-installation-2.16.7-8
yast2-2.16.30-3
yast2-add-on-2.16.1-17
yast2-add-on-creator-2.16.4-8
yast2-apparmor-2.16.0-7
yast2-autofs-2.15.3-29
yast2-backup-2.16.1-33
yast2-bootloader-2.16.5-19
yast2-ca-management-2.16.5-7
yast2-control-center-2.16.0-28
yast2-control-center-gnome-2.13.2-155
yast2-control-center-qt-2.16.0-28
yast2-core-2.16.38-5.3
yast2-core-devel-2.16.38-3
yast2-country-2.16.11-5
yast2-country-data-2.16.11-5
yast2-devtools-2.16.6-4
yast2-dhcp-server-2.15.6-18
yast2-dirinstall-2.16.0-43
yast2-dns-server-2.16.1-32
yast2-firewall-2.15.8-65
yast2-ftp-server-2.15.9-84
yast2-hardware-detection-2.16.1-14
yast2-http-server-2.16.4-3
yast2-inetd-2.15.1-101
yast2-installation-2.16.19-7
yast2-iscsi-client-2.16.5-8
yast2-iscsi-server-2.16.0-4
yast2-kdump-2.16.9-27
yast2-kerberos-client-2.16.4-4
yast2-kerberos-server-2.16.0-40
yast2-ldap-2.16.0-3
yast2-ldap-client-2.16.9-6
yast2-ldap-server-2.15.5-134
yast2-libyui-2.16.38-3
yast2-mouse-2.16.0-43
yast2-ncurses-2.16.17-5
yast2-ncurses-pkg-2.16.3-4
yast2-network-2.16.22-18
yast2-nfs-client-2.15.0-82
yast2-nfs-server-2.15.5-28
yast2-nis-client-2.16.0-53
yast2-nis-server-2.16.2-18
yast2-ntp-client-2.16.4-9
yast2-packager-2.16.22-3
yast2-pam-2.16.0-54
yast2-perl-bindings-2.16.3-4
yast2-pkg-bindings-2.16.15-3
yast2-printer-2.16.7-18
yast2-product-creator-2.16.8-13
yast2-profile-manager-2.16.0-43
yast2-python-bindings-2.16.6-4
yast2-qt-2.16.31-3
yast2-qt-pkg-2.16.27-3
yast2-registration-2.16.0-44
yast2-repair-2.16.4-20
yast2-restore-2.16.0-45
yast2-ruby-bindings-0.3.0-4
yast2-runlevel-2.16.0-45
yast2-samba-client-2.16.2-21
yast2-samba-server-2.16.0-56
yast2-scanner-2.15.5-100
yast2-schema-2.15.0-175
yast2-security-2.15.1-82
yast2-slp-2.15.0-89
yast2-slp-server-2.16.0-4
yast2-sound-2.16.3-4
yast2-squid-2.16.1-23
yast2-sshd-2.16.0-39
yast2-storage-2.16.11-14
yast2-storage-lib-2.16.11-14
yast2-sudo-2.16.0-18
yast2-support-2.15.3-72
yast2-sysconfig-2.15.3-115
yast2-tftp-server-2.14.0-162
yast2-theme-openSUSE-2.16.13-9
yast2-theme-openSUSE-Crystal-2.16.13-9
yast2-trans-de-2.16.3-3
yast2-trans-en_US-2.16.1-3
yast2-transfer-2.16.1-27
yast2-trans-ru-2.16.2-3
yast2-trans-stats-2.15.0-62
yast2-update-2.16.4-22
yast2-users-2.16.13-3
yast2-xml-2.16.0-32
yast2-ycp-ui-bindings-2.16.37-5.2
Comment 1 Casual J. Programmer 2008-03-01 10:49:18 UTC
Created attachment 198007 [details]
yast2 logs
Comment 2 Cyril Hrubis 2008-03-03 17:16:35 UTC
*** Bug 366661 has been marked as a duplicate of this bug. ***
Comment 3 Lukas Ocilka 2008-03-04 09:54:38 UTC
Couldn't find an agent to handle '.init.scripts.runlevel_list'
Couldn't find an agent to handle '.init.scripts.current_runlevel'
Couldn't find an agent to handle '.init.scripts.default_runlevel'
Couldn't find an agent to handle '.init.insserv_conf'
Couldn't find an agent to handle '.init.scripts.runlevels'
Couldn't find an agent to handle '.init.scripts.comments'
SCR::Read() failed

Hmm, it seems that SCR agent for reading the runlevel configuration is missing.
Comment 4 Lukas Ocilka 2008-03-04 11:48:18 UTC
Lazy loading of SCR agents is broken a bit. Hotfix for yast2-runlevel is this:

wizard.ycp == /usr/share/YaST2/include/runlevel/wizard.ycp

--- cut ---
Index: wizard.ycp
===================================================================
--- wizard.ycp  (revision 45160)
+++ wizard.ycp  (working copy)
@@ -94,7 +94,7 @@
     ];
 
     Wizard::CreateDialog ();
-    Wizard::SetDesktopIcon("runlevel");
+    Wizard::SetTitleIcon("runlevel");
     Wizard::DisableBackButton ();
     Wizard::RestoreHelp (getHelpProgress ());
 
@@ -117,7 +117,7 @@
 
 
     Wizard::CreateDialog ();
-    Wizard::SetDesktopIcon("runlevel");
+    Wizard::SetTitleIcon("runlevel");
     Wizard::DisableBackButton ();
     Wizard::RestoreHelp (getHelpProgress ());
--- cut ---

More can be found on the yast-announce and yast-devel mailing-lists.

*** This bug has been marked as a duplicate of bug 365116 ***
Comment 5 Lukas Ocilka 2008-03-04 11:55:41 UTC
- Using SetTitleIcon instead of SetDesktopIcon (bnc #366355).
- yast2-runlevel-2.16.1