YAST Problem

After “zypper update” and/or “zypper dup” YAST don’t show “DHCP-Server” and “DNS-Server” configuration screen. OpenSUSE is without KDE, X11 and GNOME because I use only text-mode…

How to solve this problem?

ezkiellg,

Are they installed?

zypper search yast2 | grep dhcp

| yast2-dhcp-server | YaST2 - DHCP Server Configuration

zypper search yast2 | grep dns

| yast2-dns-server | YaST2 - DNS Server Configuration

Yeah, yast2-dns-server and yast2-dhcp-server are installed.
Before “zypper update/dup” was working.

BIND and DHCP-SERVER are running perfectly, yet.
But the configuration must be manual.

Muito obrigado! (“Thank you so much” in brazilian portuguese)

I missed the -i in my last post to search for installed packages.

zypper search -i yast2 | grep dhcp

Ok. But they are installed.

Error message:

Can’t locate Immunix/Notify.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
BEGIN failed–compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23 (#1)
(F) You said to do (or require, or use) a file that couldn’t be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file. Perhaps you
need to set the PERL5LIB or PERL5OPT environment variable to say where
the extra library is, or maybe the script needs to add the library name
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.

Uncaught exception from user code:
Can’t locate Immunix/Notify.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
BEGIN failed–compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23

Oh nice :frowning: yast2-apparmor.rpm is mispackaged: it contains Immunix/Notify.pm in a directory that is not in Perl’s path. I’ll file a bug.

Anyway, that seems to be unrelated to yast2-dns-server and yast2-dhcp-server not working.

https://bugzilla.novell.com/show_bug.cgi?id=635830

The error occurs when I go:
YAST
NETWORK SERVICES
DNS SERVER or DHCP SERVER

The error appears when I leave YAST.
Before leave, YAST just don’t show configuration screen of DNS and DHCP and back for NETWORK SERVICES.

Sorry if I wrote something wrong, but I am Brazilian and I do not speak English perfectly.

On 2010-08-31 03:36, ezkiellg wrote:
>
> After “zypper update” and/or “zypper dup” YAST don’t show “DHCP-Server”
> and “DNS-Server” configuration screen. OpenSUSE is without KDE, X11 and
> GNOME because I use only text-mode…

“zypper dup”?

That can change a lot of things.

What were you doing? Upgrading (live) from one version of suse to another? Someother thing? Please
explain.

What repos do you have enabled (zypper lr --details)


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

Carlos E. R. :

I don’t know exactly.
I am the new manager of the company computers and just saw the executed commands.
Contained in history: zypper update, zupper dup, yast, vi, rcnetwork restart and others

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------------------------------±------------------------------------±--------±--------±---------±-------±----------------------------------------------------------------±-------
1 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes | Yes | 99 | rpm-md | Index of /update/11.3 |
2 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | Yes | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
3 | repo-debug | openSUSE-11.3-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.3/repo/oss |
4 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/non-oss |
5 | repo-oss | openSUSE-11.3-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/oss |
6 | repo-source | openSUSE-11.3-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.3/repo/oss |

And after research and too many “zypper update”, the problems persists…

Any idea when a patch will be available as an update in September?

Cheers!

Romanator

On 2010-09-11 13:36, ezkiellg wrote:
>
> And after research and too many “zypper update”, the problems
> persists…

Could you explain again what the problem is? I don’t have it clear.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

On 2010-09-14 03:36, Romanator wrote:
>
> Any idea when a patch will be available as an update in September?

What patch, what for?


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

When I select Novell AppArmor → Edit Profile → click on the Abort button
and the following Error - KDialog window appears with the following message:

Can't locate Immunix/Notify.pm in @INC (@INC contains:  /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi  /usr/lib/perl5/site_perl/5.12.1  /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi  /usr/lib/perl5/vendor_perl/5.12.1  /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .)  at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23 (#1)
    (F) You said to do (or require, or use) a file that couldn't be
    found. Perl looks for the file in all the locations mentioned in @INC,
    unless the file name included the full path to the file.  Perhaps you
    need to set the PERL5LIB or PERL5OPT environment variable to say where
    the extra library is, or maybe the script needs to add the library name
    to @INC.  Or maybe you just misspelled the name of the file.  See
    perlfunc/require and lib.
    
Uncaught exception from user code:
    Can't locate Immunix/Notify.pm in @INC (@INC contains:  /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi  /usr/lib/perl5/site_perl/5.12.1  /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi  /usr/lib/perl5/vendor_perl/5.12.1  /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .)  at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
BEGIN failed--compilation aborted at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23.
 at /usr/lib/YaST2/servers_non_y2/ag_subdomain line 23

I am using KDE 4.5.1.

Any thoughts?

Romanator

On 2010-09-14 20:36, Romanator wrote:
>
> When I select Novell AppArmor → Edit Profile → click on the Abort
> button
> and the following Error - KDialog window appears with the following
> message:
>
>
> Code:
> --------------------
> Can’t locate Immunix/Notify.pm in @INC

I don’t see what your problem has to do with what “ezkiellg” reported.

Anyway, in you case, you have to install “yast2-apparmor”.

…]

Hold on. Your question “Any idea when a patch will be available as an update in September?” is not
phrased correctly or clearly. You will have to ask on the Bugzilla mvidner wrote.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

I’ll log on to Bugzilla and check with them.

Thanks Carlos.

Roman