[opensuse-factory] [Leap 42.1] Incomplete or incorrect apparmor setup
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eleanor-421:~ # logprof Include file /etc/apparmor.d/abstractions/apache2-common not found Eleanor-421:~ # aa-logprof Include file /etc/apparmor.d/abstractions/apache2-common not found Eleanor-421:~ # The reference is in file /etc/apparmor.d/apache2.d/phpsysinfo # Last Modified: Fri Sep 11 13:27:22 2009 # Author: Marc Deslauriers <marc.deslauriers@ubuntu.com> ^phpsysinfo { #include <abstractions/apache2-common> #include <abstractions/base> - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlYOpUEACgkQtTMYHG2NR9W/uACcCmiSLMX61fTjKm5/K3vMAq5P mqQAoIwotSSIvnhytajatp/2wWIgGfO+ =75RA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Oct 02, 2015 at 05:39:45PM +0200, Carlos E. R. wrote:
Eleanor-421:~ # logprof
Include file /etc/apparmor.d/abstractions/apache2-common not found Eleanor-421:~ # aa-logprof
Include file /etc/apparmor.d/abstractions/apache2-common not found Eleanor-421:~ #
The reference is in file /etc/apparmor.d/apache2.d/phpsysinfo
# Last Modified: Fri Sep 11 13:27:22 2009 # Author: Marc Deslauriers <marc.deslauriers@ubuntu.com>
^phpsysinfo { #include <abstractions/apache2-common> #include <abstractions/base>
For bugs, do a bugreport please. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-10-02 17:46, Marcus Meissner wrote:
On Fri, Oct 02, 2015 at 05:39:45PM +0200, Carlos E. R. wrote:
For bugs, do a bugreport please.
Is it a bug? :-? I see "/etc/apparmor.d/abstractions/apache2-common.rpmsave". That's possibly the missing file. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlYOq50ACgkQtTMYHG2NR9WIXQCfVl7lfSJuKntoxlmdn/Nijovj HTQAn1bRD90WXIv4ljL4j6CJw6XuW04m =qFBy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-10-02 18:06, Carlos E. R. wrote:
On 2015-10-02 17:46, Marcus Meissner wrote:
On Fri, Oct 02, 2015 at 05:39:45PM +0200, Carlos E. R. wrote:
For bugs, do a bugreport please.
Is it a bug? :-?
I see "/etc/apparmor.d/abstractions/apache2-common.rpmsave". That's possibly the missing file.
There are more. Include file /etc/apparmor.d/abstractions/nameservice not found Include file /etc/apparmor.d/abstractions/nis not found Include file /etc/apparmor.d/abstractions/ldapclient not found Include file /etc/apparmor.d/abstractions/winbind not found Include file /etc/apparmor.d/abstractions/base not found Include file /etc/apparmor.d/abstractions/php5 not found Include file /etc/apparmor.d/abstractions/python not found Include file /etc/apparmor.d/tunables/global not found - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlYOsFYACgkQtTMYHG2NR9UdKwCgixiDEQ5uIY1TjK6hs37CKGW/ 9OAAoIGsBZQtb2og9iRJDjcE3gjnHT0E =4zqA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Freitag, 2. Oktober 2015 schrieb Carlos E. R.:
On 2015-10-02 18:06, Carlos E. R. wrote:
I see "/etc/apparmor.d/abstractions/apache2-common.rpmsave". That's possibly the missing file.
The interesting question is - why was the file (or the apparmor- abstractions package, which contains the file) removed?
There are more.
Include file /etc/apparmor.d/abstractions/nameservice not found Include file /etc/apparmor.d/abstractions/nis not found Include file /etc/apparmor.d/abstractions/ldapclient not found Include file /etc/apparmor.d/abstractions/winbind not found Include file /etc/apparmor.d/abstractions/base not found Include file /etc/apparmor.d/abstractions/php5 not found Include file /etc/apparmor.d/abstractions/python not found Include file /etc/apparmor.d/tunables/global not found
That sounds like you miss the apparmor-abstractions package. Please post the output of rpm -qa 'apparmor*' rpm -Va 'apparmor*' Regards, Christian Boltz -- Aber irgendwann lernt mensch dann den Frust in Spass zu wandeln und (ähnlich wie Du, Axel) habe auch ich den einen oder anderen Kundenservice mit der Bitte um Downloadquellen für diesen 'IE', von dem da die Rede ist, möglichst als rpm gebeten - ohne Erfolg bisher. [Ralf Mohn in suse-linux] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-10-02 23:54, Christian Boltz wrote:
That sounds like you miss the apparmor-abstractions package.
Please post the output of rpm -qa 'apparmor*' rpm -Va 'apparmor*'
Ok. Eleanor-421:~ # rpm -qa 'apparmor*' apparmor-parser-2.10-2.1.x86_64 apparmor-utils-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-parser-2.10-2.1.x86_64 apparmor-docs-2.10-2.1.noarch apparmor-profiles-2.10-2.1.noarch Eleanor-421:~ # Eleanor-421:~ # rpm -Va 'apparmor*' .......T. c /etc/apparmor/logprof.conf .......T. c /etc/apparmor/severity.db Unsatisfied dependencies for apparmor-abstractions-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed) apparmor-abstractions-2.10-2.1.noarch missing c /etc/apparmor.d/abstractions/X S.5....T. c /etc/apparmor.d/abstractions/apache2-common missing c /etc/apparmor.d/abstractions/aspell missing c /etc/apparmor.d/abstractions/audio S.5....T. c /etc/apparmor.d/abstractions/authentication S.5....T. c /etc/apparmor.d/abstractions/base S.5....T. c /etc/apparmor.d/abstractions/bash S.5....T. c /etc/apparmor.d/abstractions/consoles S.5....T. c /etc/apparmor.d/abstractions/cups-client S.5....T. c /etc/apparmor.d/abstractions/dbus .......T. c /etc/apparmor.d/abstractions/dbus-accessibility .......T. c /etc/apparmor.d/abstractions/dbus-accessibility-strict missing c /etc/apparmor.d/abstractions/dbus-session .......T. c /etc/apparmor.d/abstractions/dbus-session-strict missing c /etc/apparmor.d/abstractions/enchant missing c /etc/apparmor.d/abstractions/fonts missing c /etc/apparmor.d/abstractions/freedesktop.org S.5....T. c /etc/apparmor.d/abstractions/gnome missing c /etc/apparmor.d/abstractions/gnupg missing c /etc/apparmor.d/abstractions/ibus missing c /etc/apparmor.d/abstractions/kde missing c /etc/apparmor.d/abstractions/kerberosclient missing c /etc/apparmor.d/abstractions/launchpad-integration S.5....T. c /etc/apparmor.d/abstractions/ldapclient missing c /etc/apparmor.d/abstractions/likewise missing c /etc/apparmor.d/abstractions/mdns S.5....T. c /etc/apparmor.d/abstractions/mysql S.5....T. c /etc/apparmor.d/abstractions/nameservice S.5....T. c /etc/apparmor.d/abstractions/nis missing c /etc/apparmor.d/abstractions/nvidia S.5....T. c /etc/apparmor.d/abstractions/openssl missing c /etc/apparmor.d/abstractions/orbit2 missing c /etc/apparmor.d/abstractions/p11-kit S.5....T. c /etc/apparmor.d/abstractions/perl S.5....T. c /etc/apparmor.d/abstractions/php5 missing c /etc/apparmor.d/abstractions/private-files missing c /etc/apparmor.d/abstractions/private-files-strict S.5....T. c /etc/apparmor.d/abstractions/python missing c /etc/apparmor.d/abstractions/ruby S.5....T. c /etc/apparmor.d/abstractions/samba missing c /etc/apparmor.d/abstractions/smbpass S.5....T. c /etc/apparmor.d/abstractions/ssl_certs S.5....T. c /etc/apparmor.d/abstractions/ssl_keys missing c /etc/apparmor.d/abstractions/svn-repositories missing c /etc/apparmor.d/abstractions/ubuntu-bittorrent-clients missing c /etc/apparmor.d/abstractions/ubuntu-browsers missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/java missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/kde missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/mailto missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/multimedia missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/plugins-common missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/productivity missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/text-editors missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/ubuntu-integration missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/ubuntu-integration-xul missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/user-files missing c /etc/apparmor.d/abstractions/ubuntu-console-browsers missing c /etc/apparmor.d/abstractions/ubuntu-console-email missing c /etc/apparmor.d/abstractions/ubuntu-email missing c /etc/apparmor.d/abstractions/ubuntu-feed-readers missing c /etc/apparmor.d/abstractions/ubuntu-gnome-terminal missing c /etc/apparmor.d/abstractions/ubuntu-helpers missing c /etc/apparmor.d/abstractions/ubuntu-konsole missing c /etc/apparmor.d/abstractions/ubuntu-media-players missing c /etc/apparmor.d/abstractions/ubuntu-xterm missing c /etc/apparmor.d/abstractions/user-download missing c /etc/apparmor.d/abstractions/user-mail missing c /etc/apparmor.d/abstractions/user-manpages S.5....T. c /etc/apparmor.d/abstractions/user-tmp missing c /etc/apparmor.d/abstractions/user-write missing c /etc/apparmor.d/abstractions/video missing c /etc/apparmor.d/abstractions/web-data S.5....T. c /etc/apparmor.d/abstractions/winbind S.5....T. c /etc/apparmor.d/abstractions/wutmp S.5....T. c /etc/apparmor.d/abstractions/xad missing c /etc/apparmor.d/abstractions/xdg-desktop missing /etc/apparmor.d/disable missing c /etc/apparmor.d/tunables/alias S.5....T. c /etc/apparmor.d/tunables/dovecot S.5....T. c /etc/apparmor.d/tunables/global missing c /etc/apparmor.d/tunables/home missing n /etc/apparmor.d/tunables/home.d missing c /etc/apparmor.d/tunables/home.d/site.local missing c /etc/apparmor.d/tunables/multiarch missing n /etc/apparmor.d/tunables/multiarch.d missing c /etc/apparmor.d/tunables/multiarch.d/site.local S.5....T. c /etc/apparmor.d/tunables/ntpd missing c /etc/apparmor.d/tunables/proc Unsatisfied dependencies for apparmor-abstractions-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed) apparmor-abstractions-2.10-2.1.noarch missing c /etc/apparmor.d/abstractions/X S.5....T. c /etc/apparmor.d/abstractions/apache2-common missing c /etc/apparmor.d/abstractions/aspell missing c /etc/apparmor.d/abstractions/audio S.5....T. c /etc/apparmor.d/abstractions/authentication S.5....T. c /etc/apparmor.d/abstractions/base S.5....T. c /etc/apparmor.d/abstractions/bash S.5....T. c /etc/apparmor.d/abstractions/consoles S.5....T. c /etc/apparmor.d/abstractions/cups-client S.5....T. c /etc/apparmor.d/abstractions/dbus .......T. c /etc/apparmor.d/abstractions/dbus-accessibility .......T. c /etc/apparmor.d/abstractions/dbus-accessibility-strict missing c /etc/apparmor.d/abstractions/dbus-session .......T. c /etc/apparmor.d/abstractions/dbus-session-strict missing c /etc/apparmor.d/abstractions/enchant missing c /etc/apparmor.d/abstractions/fonts missing c /etc/apparmor.d/abstractions/freedesktop.org S.5....T. c /etc/apparmor.d/abstractions/gnome missing c /etc/apparmor.d/abstractions/gnupg missing c /etc/apparmor.d/abstractions/ibus missing c /etc/apparmor.d/abstractions/kde missing c /etc/apparmor.d/abstractions/kerberosclient missing c /etc/apparmor.d/abstractions/launchpad-integration S.5....T. c /etc/apparmor.d/abstractions/ldapclient missing c /etc/apparmor.d/abstractions/likewise missing c /etc/apparmor.d/abstractions/mdns S.5....T. c /etc/apparmor.d/abstractions/mysql S.5....T. c /etc/apparmor.d/abstractions/nameservice S.5....T. c /etc/apparmor.d/abstractions/nis missing c /etc/apparmor.d/abstractions/nvidia S.5....T. c /etc/apparmor.d/abstractions/openssl missing c /etc/apparmor.d/abstractions/orbit2 missing c /etc/apparmor.d/abstractions/p11-kit S.5....T. c /etc/apparmor.d/abstractions/perl S.5....T. c /etc/apparmor.d/abstractions/php5 missing c /etc/apparmor.d/abstractions/private-files missing c /etc/apparmor.d/abstractions/private-files-strict S.5....T. c /etc/apparmor.d/abstractions/python missing c /etc/apparmor.d/abstractions/ruby S.5....T. c /etc/apparmor.d/abstractions/samba missing c /etc/apparmor.d/abstractions/smbpass S.5....T. c /etc/apparmor.d/abstractions/ssl_certs S.5....T. c /etc/apparmor.d/abstractions/ssl_keys missing c /etc/apparmor.d/abstractions/svn-repositories missing c /etc/apparmor.d/abstractions/ubuntu-bittorrent-clients missing c /etc/apparmor.d/abstractions/ubuntu-browsers missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/java missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/kde missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/mailto missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/multimedia missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/plugins-common missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/productivity missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/text-editors missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/ubuntu-integration missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/ubuntu-integration-xul missing c /etc/apparmor.d/abstractions/ubuntu-browsers.d/user-files missing c /etc/apparmor.d/abstractions/ubuntu-console-browsers missing c /etc/apparmor.d/abstractions/ubuntu-console-email missing c /etc/apparmor.d/abstractions/ubuntu-email missing c /etc/apparmor.d/abstractions/ubuntu-feed-readers missing c /etc/apparmor.d/abstractions/ubuntu-gnome-terminal missing c /etc/apparmor.d/abstractions/ubuntu-helpers missing c /etc/apparmor.d/abstractions/ubuntu-konsole missing c /etc/apparmor.d/abstractions/ubuntu-media-players missing c /etc/apparmor.d/abstractions/ubuntu-xterm missing c /etc/apparmor.d/abstractions/user-download missing c /etc/apparmor.d/abstractions/user-mail missing c /etc/apparmor.d/abstractions/user-manpages S.5....T. c /etc/apparmor.d/abstractions/user-tmp missing c /etc/apparmor.d/abstractions/user-write missing c /etc/apparmor.d/abstractions/video missing c /etc/apparmor.d/abstractions/web-data S.5....T. c /etc/apparmor.d/abstractions/winbind S.5....T. c /etc/apparmor.d/abstractions/wutmp S.5....T. c /etc/apparmor.d/abstractions/xad missing c /etc/apparmor.d/abstractions/xdg-desktop missing /etc/apparmor.d/disable missing c /etc/apparmor.d/tunables/alias S.5....T. c /etc/apparmor.d/tunables/dovecot S.5....T. c /etc/apparmor.d/tunables/global missing c /etc/apparmor.d/tunables/home missing n /etc/apparmor.d/tunables/home.d missing c /etc/apparmor.d/tunables/home.d/site.local missing c /etc/apparmor.d/tunables/multiarch missing n /etc/apparmor.d/tunables/multiarch.d missing c /etc/apparmor.d/tunables/multiarch.d/site.local S.5....T. c /etc/apparmor.d/tunables/ntpd missing c /etc/apparmor.d/tunables/proc Unsatisfied dependencies for apparmor-profiles-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed) apparmor-profiles-2.10-2.1.noarch S.5....T. c /etc/apparmor.d/sbin.klogd S.5....T. c /etc/apparmor.d/sbin.syslog-ng S.5....T. c /etc/apparmor.d/sbin.syslogd .......T. c /etc/apparmor.d/usr.lib.dovecot.anvil S.5....T. c /etc/apparmor.d/usr.lib.dovecot.auth .......T. c /etc/apparmor.d/usr.lib.dovecot.config .......T. c /etc/apparmor.d/usr.lib.dovecot.deliver .......T. c /etc/apparmor.d/usr.lib.dovecot.dict .......T. c /etc/apparmor.d/usr.lib.dovecot.dovecot-auth .......T. c /etc/apparmor.d/usr.lib.dovecot.dovecot-lda .......T. c /etc/apparmor.d/usr.lib.dovecot.imap .......T. c /etc/apparmor.d/usr.lib.dovecot.imap-login .......T. c /etc/apparmor.d/usr.lib.dovecot.lmtp .......T. c /etc/apparmor.d/usr.lib.dovecot.log .......T. c /etc/apparmor.d/usr.lib.dovecot.managesieve .......T. c /etc/apparmor.d/usr.lib.dovecot.managesieve-login .......T. c /etc/apparmor.d/usr.lib.dovecot.pop3 .......T. c /etc/apparmor.d/usr.lib.dovecot.pop3-login .......T. c /etc/apparmor.d/usr.lib.dovecot.ssl-params S.5....T. c /etc/apparmor.d/usr.sbin.avahi-daemon .......T. c /etc/apparmor.d/usr.sbin.dnsmasq .......T. c /etc/apparmor.d/usr.sbin.dovecot .......T. c /etc/apparmor.d/usr.sbin.identd .......T. c /etc/apparmor.d/usr.sbin.mdnsd .......T. c /etc/apparmor.d/usr.sbin.nmbd .......T. c /etc/apparmor.d/usr.sbin.nscd S.5....T. c /etc/apparmor.d/usr.sbin.ntpd .......T. c /etc/apparmor.d/usr.sbin.smbd .......T. c /etc/apparmor.d/usr.sbin.winbindd Eleanor-421:~ # There are many missing files :-o Eleanor-421:~ # zypper install --force apparmor-abstractions Loading repository data... Reading installed packages... Forcing installation of 'apparmor-abstractions-2.10-2.1.noarch' from repository 'openSUSE-Leap-Oss'. Resolving package dependencies... The following package is going to be reinstalled: apparmor-abstractions 1 package to reinstall. Overall download size: 62.5 KiB. Already cached: 0 B. No additional space will be used or freed after the operation. Continue? [y/n/? shows all options] (y): y Retrieving package apparmor-abstractions-2.10-2.1.noarch (1/1), 62.5 KiB ( 96.2 KiB unpacked) Retrieving: apparmor-abstractions-2.10-2.1.noarch.rpm ................................................................[done] Checking for file conflicts: .........................................................................................[done] Warning: Checking for file conflicts requires not installed packages to be downloaded in advance in order to access their file lists. See option '--download-in-advance' in the zypper manual page for details. The following 8 packages had to be excluded from file conflicts check because they are not yet downloaded: apparmor-parser bash-completion bash-doc fontconfig gdb geocode-glib libenchant1 python (1/1) Installing: apparmor-abstractions-2.10-2.1 .....................................................................[done] Additional rpm output: warning: /etc/apparmor.d/abstractions/apache2-common created as /etc/apparmor.d/abstractions/apache2-common.rpmnew warning: /etc/apparmor.d/abstractions/authentication created as /etc/apparmor.d/abstractions/authentication.rpmnew warning: /etc/apparmor.d/abstractions/base created as /etc/apparmor.d/abstractions/base.rpmnew warning: /etc/apparmor.d/abstractions/bash created as /etc/apparmor.d/abstractions/bash.rpmnew warning: /etc/apparmor.d/abstractions/consoles created as /etc/apparmor.d/abstractions/consoles.rpmnew warning: /etc/apparmor.d/abstractions/cups-client created as /etc/apparmor.d/abstractions/cups-client.rpmnew warning: /etc/apparmor.d/abstractions/dbus created as /etc/apparmor.d/abstractions/dbus.rpmnew warning: /etc/apparmor.d/abstractions/gnome created as /etc/apparmor.d/abstractions/gnome.rpmnew warning: /etc/apparmor.d/abstractions/ldapclient created as /etc/apparmor.d/abstractions/ldapclient.rpmnew warning: /etc/apparmor.d/abstractions/mysql created as /etc/apparmor.d/abstractions/mysql.rpmnew warning: /etc/apparmor.d/abstractions/nameservice created as /etc/apparmor.d/abstractions/nameservice.rpmnew warning: /etc/apparmor.d/abstractions/nis created as /etc/apparmor.d/abstractions/nis.rpmnew warning: /etc/apparmor.d/abstractions/openssl created as /etc/apparmor.d/abstractions/openssl.rpmnew warning: /etc/apparmor.d/abstractions/perl created as /etc/apparmor.d/abstractions/perl.rpmnew warning: /etc/apparmor.d/abstractions/php5 created as /etc/apparmor.d/abstractions/php5.rpmnew warning: /etc/apparmor.d/abstractions/python created as /etc/apparmor.d/abstractions/python.rpmnew warning: /etc/apparmor.d/abstractions/samba created as /etc/apparmor.d/abstractions/samba.rpmnew warning: /etc/apparmor.d/abstractions/ssl_certs created as /etc/apparmor.d/abstractions/ssl_certs.rpmnew warning: /etc/apparmor.d/abstractions/ssl_keys created as /etc/apparmor.d/abstractions/ssl_keys.rpmnew warning: /etc/apparmor.d/abstractions/user-tmp created as /etc/apparmor.d/abstractions/user-tmp.rpmnew warning: /etc/apparmor.d/abstractions/winbind created as /etc/apparmor.d/abstractions/winbind.rpmnew warning: /etc/apparmor.d/abstractions/wutmp created as /etc/apparmor.d/abstractions/wutmp.rpmnew warning: /etc/apparmor.d/abstractions/xad created as /etc/apparmor.d/abstractions/xad.rpmnew warning: /etc/apparmor.d/tunables/dovecot created as /etc/apparmor.d/tunables/dovecot.rpmnew warning: /etc/apparmor.d/tunables/global created as /etc/apparmor.d/tunables/global.rpmnew warning: /etc/apparmor.d/tunables/ntpd created as /etc/apparmor.d/tunables/ntpd.rpmnew redirecting to systemctl reload apparmor.service Eleanor-421:~ # zypper install --force apparmor-parser Loading repository data... Reading installed packages... Forcing installation of 'apparmor-parser-2.10-2.1.x86_64' from repository 'openSUSE-Leap-Oss'. Resolving package dependencies... The following package is going to be REMOVED: apparmor-parser The following package is going to be upgraded: apparmor-parser The following package is going to change vendor: apparmor-parser obs://build.opensuse.org/openSUSE:42 -> openSUSE 1 package to upgrade, 1 to remove, 1 to change vendor. Overall download size: 344.0 KiB. Already cached: 0 B. After the operation, 843.1 KiB will be freed. Continue? [y/n/? shows all options] (y): Retrieving package apparmor-parser-2.10-2.1.x86_64 (1/1), 344.0 KiB (947.1 KiB unpacked) Retrieving: apparmor-parser-2.10-2.1.x86_64.rpm ......................................................................[done] Checking for file conflicts: .........................................................................................[done] Warning: Checking for file conflicts requires not installed packages to be downloaded in advance in order to access their file lists. See option '--download-in-advance' in the zypper manual page for details. The following 51 packages had to be excluded from file conflicts check because they are not yet downloaded: OpenPrintingPPDs bash-completion bc coreutils cracklib diffutils dirmngr e2fsprogs ed elfutils findutils fontconfig gawk gdb gettext-runtime gnuchess grep gzip libenchant1 libieee1284 liblapack3 libpoppler44 luasocket perl-Crypt-SmbHash perl-Digest-HMAC perl-File-Listing perl-HTML-Parser perl-HTTP-Message perl-IO-Socket-SSL perl-WWW-RobotRules perl-X500-DN perl-XML-SAX perl-XML-Twig perl-XML-XPath pinentry python python-lockfile python-pyasn1 python-pycrypto python3-smbc recode sed syslinux tango-icon-theme tar time which wol xconsole xmessage xrdb (1/1) Installing: apparmor-parser-2.10-2.1 ...........................................................................[done] Eleanor-421:~ # Ok, I move all those rpmnew on top of the empty config files I had to create to allow AA to start. Then: Eleanor-421:~ # rpm -Va apparmor-abstractions Unsatisfied dependencies for apparmor-abstractions-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed) apparmor-abstractions-2.10-2.1.noarch Unsatisfied dependencies for apparmor-abstractions-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed) apparmor-abstractions-2.10-2.1.noarch Eleanor-421:~ # Eleanor-421:~ # rpm -Va apparmor-parser Eleanor-421:~ # - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlYPCbAACgkQja8UbcUWM1wP5QD/aEKlCVagJbRkS/S2UgmV4nbb 4o8rsh1z6C8l92f6f90A/1usxFuEyHHsdiP2Lkx37EhBpYjLPNWhQTNnV5s9G9I0 =89RM -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Samstag, 3. Oktober 2015 schrieb Carlos E. R.:
On 2015-10-02 23:54, Christian Boltz wrote: ... Eleanor-421:~ # rpm -qa 'apparmor*' apparmor-parser-2.10-2.1.x86_64 apparmor-utils-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-parser-2.10-2.1.x86_64 apparmor-docs-2.10-2.1.noarch apparmor-profiles-2.10-2.1.noarch Eleanor-421:~ #
For some reason, your rpm database lists apparmor-parser and apparmor- abstractions twice (with the same version). Do you have any idea how this could happen? search /var/log/zypp/history for "apparmor" - is there something strange (error messages etc.) around those lines?
There are many missing files :-o
Indeed - reinstalling aparmor-abstractions was obviously a good idea.
Eleanor-421:~ # rpm -Va apparmor-abstractions Unsatisfied dependencies for apparmor-abstractions-2.10-2.1.noarch: apparmor-parser(CAP_SYSLOG) is needed by (installed)
rpm -q --provides apparmor-parser please ;-) Also, please post the output of rpm -qa 'apparmor*' again (might have changed after the reinstall) To get rid of the duplicate packages, something like rpm -e --justdb apparmor-abstractions should work. Use --nodeps if needed, and check with rpm -qa 'apparmor*' afterwards that you have exactly one apparmor-abstractions package in the rpm database. (If both were deleted, zypper in apparmor- abstractions.) Then do the same for apparmor-parser. Regards, Christian Boltz -- Sometimes I feel that using osc (and OBS) is like driving an alien space ship, full of nice features, but I cannot read the manual ;-) [Filipe in opensuse-packaging] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-10-03 10:11, Christian Boltz wrote:
Hello,
Am Samstag, 3. Oktober 2015 schrieb Carlos E. R.:
On 2015-10-02 23:54, Christian Boltz wrote: ... Eleanor-421:~ # rpm -qa 'apparmor*' apparmor-parser-2.10-2.1.x86_64 apparmor-utils-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-abstractions-2.10-2.1.noarch apparmor-parser-2.10-2.1.x86_64 apparmor-docs-2.10-2.1.noarch apparmor-profiles-2.10-2.1.noarch Eleanor-421:~ #
For some reason, your rpm database lists apparmor-parser and apparmor- abstractions twice (with the same version). Do you have any idea how this could happen?
Yes, now I have. :-} The "zypper dup" process had caused a kernel panic and reboot (Bug 941867). Several packages were incomplete; some files were partially written/corrupt; and the rpm database was also corrupt, making further zypper operations to fail weirdly. To complicate matters, as the "vendor" string of the 42 oss repo has changed, at least one of my update operations was faulty, because it tried to respect vendor stickiness. After that, as I still had enabled the original install DVD as repository, and this has a different vendor, it confused the solver, apparently.
search /var/log/zypp/history for "apparmor" - is there something strange (error messages etc.) around those lines?
There are many missing files :-o
Indeed - reinstalling aparmor-abstractions was obviously a good idea.
Actually, according to the bug report, it is the update of this particular package the one that causes the kernel panic :-o I will check if the system is Ok, but investigating the issue that I reported in this thread is moot. Sigh. :-} At least the cause is known now. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlYP0OEACgkQja8UbcUWM1zcuAD/Q6KWKKKCX5jXbpI6lSdomgyA IFViex0ryT1NlyCuzvMA/iC7leJxk7rysUB/z4oW/O24p44g7kB47nXYCkthDRFx =U7RX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Carlos E. R.
-
Christian Boltz
-
Marcus Meissner