In openSUSE 12.3, I have an issue that I have tracked down to a point but cannot resolve. With AppArmor enabled and /usr/sbin/nscd set to Enforce, then Compositing Type OpenGL under Configure Desktops | Desktop Effects | Advanced will not work.
I get errors that several of my effects will not load. When I restart the computer then Compositing is changed back to XRender.
If I change /usr/sbin/nscd from Enforce to Complain in the AppArmor configuration and restart the computer, then OpenGL works fine.
Is there a setting within the /usr/sbin/mscd configuration that complains with KDM and OpenGL enabled?
The following is the contents of /etc/apparmor.d/usr.sbin.nscd
# Last Modified: Sun Jul 28 09:21:47 2013
# ------------------------------------------------------------------
#
# Copyright (C) 2002-2005 Novell/SUSE
# Copyright (C) 2009-2010 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
#include <tunables/global>
/usr/sbin/nscd flags=(complain) {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/nameservice>
#include <abstractions/ssl_certs>
#include <local/usr.sbin.nscd>
capability block_suspend,
capability net_bind_service,
capability setgid,
capability setuid,
network inet dgram,
network inet stream,
/etc/netgroup r,
/etc/nscd.conf r,
/proc/sys/vm/overcommit_memory r,
/tmp/.winbindd/pipe rw,
/usr/sbin/nscd mrix,
/var/lib/samba/winbindd_privileged/pipe rw,
/var/log/nscd.log rw,
/var/{cache,run}/nscd/{passwd,group,services,hosts} rw,
/{,var/}run/.nscd_socket wl,
/{,var/}run/avahi-daemon/socket w,
/{,var/}run/nscd/ rw,
/{,var/}run/nscd/db* wl,
/{,var/}run/nscd/socket wl,
/{,var/}run/{nscd/,}nscd.pid rwl,
@{PROC}/[0-9]*/fd/ r,
@{PROC}/[0-9]*/fd/* r,
@{PROC}/[0-9]*/maps r,
@{PROC}/[0-9]*/mounts r,
@{PROC}/filesystems r,
}
Thank you
Tony
I get errors that several of my effects will not load. When I restart the computer then Compositing is changed back to XRender.
If I change /usr/sbin/nscd from Enforce to Complain in the AppArmor configuration and restart the computer, then OpenGL works fine.
Is there a setting within the /usr/sbin/mscd configuration that complains with KDM and OpenGL enabled?
The following is the contents of /etc/apparmor.d/usr.sbin.nscd
# Last Modified: Sun Jul 28 09:21:47 2013
# ------------------------------------------------------------------
#
# Copyright (C) 2002-2005 Novell/SUSE
# Copyright (C) 2009-2010 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
#include <tunables/global>
/usr/sbin/nscd flags=(complain) {
#include <abstractions/base>
#include <abstractions/consoles>
#include <abstractions/nameservice>
#include <abstractions/ssl_certs>
#include <local/usr.sbin.nscd>
capability block_suspend,
capability net_bind_service,
capability setgid,
capability setuid,
network inet dgram,
network inet stream,
/etc/netgroup r,
/etc/nscd.conf r,
/proc/sys/vm/overcommit_memory r,
/tmp/.winbindd/pipe rw,
/usr/sbin/nscd mrix,
/var/lib/samba/winbindd_privileged/pipe rw,
/var/log/nscd.log rw,
/var/{cache,run}/nscd/{passwd,group,services,hosts} rw,
/{,var/}run/.nscd_socket wl,
/{,var/}run/avahi-daemon/socket w,
/{,var/}run/nscd/ rw,
/{,var/}run/nscd/db* wl,
/{,var/}run/nscd/socket wl,
/{,var/}run/{nscd/,}nscd.pid rwl,
@{PROC}/[0-9]*/fd/ r,
@{PROC}/[0-9]*/fd/* r,
@{PROC}/[0-9]*/maps r,
@{PROC}/[0-9]*/mounts r,
@{PROC}/filesystems r,
}
Thank you
Tony