Bug 399676 - Empty list of profiles
Summary: Empty list of profiles
Status: RESOLVED DUPLICATE of bug 396339
: 399678 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 1
Hardware: 32bit openSUSE 11.0
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Katarina Machalkova
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-12 14:20 UTC by Nikolay Borisov
Modified: 2008-06-17 16:05 UTC (History)
1 user (show)

See Also:
Found By: Outsourced Testing
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs (375.74 KB, application/x-compressed-tar)
2008-06-12 14:20 UTC, Nikolay Borisov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Borisov 2008-06-12 14:20:33 UTC
Created attachment 221801 [details]
y2logs

There are no profiles shown in the list, even the default profiles are not shown. Attached y2logs.
Comment 1 Stephan Kulow 2008-06-13 09:13:07 UTC
what module are you talking about?
Comment 2 Nikolay Borisov 2008-06-13 11:01:25 UTC
Both, editing and deleting apparmor profiles
Comment 3 Robert Vojcik 2008-06-13 15:29:25 UTC
*** Bug 399678 has been marked as a duplicate of this bug. ***
Comment 4 Katarina Machalkova 2008-06-17 15:15:20 UTC
Please try to reproduce, this time with Y2DEBUG=1 as there's desperately few information in y2log (http://en.opensuse.org/Bugs/YaST#The_y2logs_don.27t_seem_to_show_my_problem._Can_that_logging_be_made_any_more_verbose.3F)
Comment 5 Martin Vidner 2008-06-17 15:27:55 UTC
I maintain yast2-core, so as a side quest I am interested why we do not get more details than "Y2ProgramComponent.cc(receiveFromExternal):358 External program returned invalid data." in the log.
It turns out that it happens only when the program does not produce any output. Otherwise that error would be preceded by a parser error.

It turns out that when I run the modules outside the control center, I get quite a few interesting errors from Perl: (I haven't touched AA configuration before)

# yast2 SD_DeleteProfile    # or SD_EditProfile, same errors
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 923.
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 924.
Compilation failed in require at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 26.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 26 (#1)
    (F) You've said "use strict" or "use strict vars", which indicates
    that all variables must either be lexically scoped (using "my" or "state"),
    declared beforehand using "our", or explicitly qualified to say
    which package the global variable is in (using "::").

Uncaught exception from user code:
        Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 923.
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 924.
Compilation failed in require at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 26.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 26.
 at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 26
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 923.
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 924.
Compilation failed in require at /usr/lib/YaST2/servers_non_y2/ag_subdomain_profiles line 25.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain_profiles line 25 (#1)
    (F) You've said "use strict" or "use strict vars", which indicates
    that all variables must either be lexically scoped (using "my" or "state"),
    declared beforehand using "our", or explicitly qualified to say
    which package the global variable is in (using "::").

Uncaught exception from user code:
        Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 923.
Global symbol "$owner_toggle" requires explicit package name at /usr/lib/perl5/vendor_perl/Immunix/SubDomain.pm line 924.
Compilation failed in require at /usr/lib/YaST2/servers_non_y2/ag_subdomain_profiles line 25.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain_profiles line 25.
 at /usr/lib/YaST2/servers_non_y2/ag_subdomain_profiles line 25
Comment 6 Katarina Machalkova 2008-06-17 16:05:23 UTC
This looks very much like dupe (as it is reported against RC1, judging also from error msgs). I'm going to make not-so-verbose Y2ProgramComponent a separate bug

*** This bug has been marked as a duplicate of bug 396339 ***