Mailinglist Archive: opensuse-factory (1324 mails)

< Previous Next >
Re: [opensuse-factory] [Leap 42.1] Incomplete or incorrect apparmor setup
-----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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups