Skip to contentSkip to conversation

package/xscreensaver: add xdg SELinux module

PATCH In review Fabrice Fontaine 2 participants 2 messages Nov 27, 2021 – Nov 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xscreensaver: add xdg SELinux module

xdg SELinux module is needed to avoid the following build failure raised since commit 62b4fa2d7b543cfbacbc8fa112a88fa575b23eb3:

Compiling targeted policy.31
env LD_LIBRARY_PATH="/home/buildroot/autobuild/instance-2/output-1/host/lib:/home/buildroot/autobuild/instance-2/output-1/host/usr/lib" /home/buildroot/autobuild/instance-2/output-1/host/usr/bin/checkpolicy -c 31 -U deny -S -O -E policy.conf -o policy.31 policy/modules/services/xserver.te:116:ERROR 'attribute xdg_cache_type is not declared' at token ';' on line 656367:
#line 116

	typeattribute user_fonts_cache_t xdg_cache_type;

checkpolicy: error(s) encountered while parsing configuration

Fixes:
- http://autobuild.buildroot.org/results/610484c288fa1923d9ee28a3cb780dcb67579eee

---
 package/xscreensaver/xscreensaver.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xscreensaver/xscreensaver.mk +1 -1
index 8842d6c1ab..a2149fb3a0 100644
@@ -11,7 +11,7 @@ XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver
 XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+
 XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
 XSCREENSAVER_CPE_ID_VENDOR = xscreensaver_project
-XSCREENSAVER_SELINUX_MODULES = xscreensaver xserver
+XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
 
 XSCREENSAVER_DEPENDENCIES = \
 	gdk-pixbuf \
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

xdg SELinux module is needed to avoid the following build failure raised since commit 62b4fa2d7b543cfbacbc8fa112a88fa575b23eb3:

Compiling targeted policy.31
env LD_LIBRARY_PATH="/home/buildroot/autobuild/instance-2/output-1/host/lib:/home/buildroot/autobuild/instance-2/output-1/host/usr/lib" /home/buildroot/autobuild/instance-2/output-1/host/usr/bin/checkpolicy -c 31 -U deny -S -O -E policy.conf -o policy.31 policy/modules/services/xserver.te:116:ERROR 'attribute xdg_cache_type is not declared' at token ';' on line 656367:
#line 116

Quoted 7 lines
	typeattribute user_fonts_cache_t xdg_cache_type;

checkpolicy: error(s) encountered while parsing configuration

Fixes:
- http://autobuild.buildroot.org/results/610484c288fa1923d9ee28a3cb780dcb67579eee

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot