From 6c94d7874750a60b8394df86e87057df81cd0d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Wed, 18 Dec 2019 15:23:15 +0100 Subject: [PATCH] add ownership for eBPF bytecode files directories (#1781646) --- filesystem.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/filesystem.spec b/filesystem.spec index 2dcb7df..efb9920 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,7 +1,7 @@ Summary: The basic directory layout for a Linux system Name: filesystem -Version: 3.12 -Release: 2%{?dist} +Version: 3.13 +Release: 1%{?dist} License: Public Domain URL: https://pagure.io/filesystem Group: System Environment/Base @@ -51,8 +51,8 @@ cd %{buildroot} mkdir -p afs boot dev \ etc/{X11/{applnk,fontpath.d,xinit/{xinitrc,xinput}.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},skel,sysconfig,pki,bash_completion.d,rwtab.d,statetab.d} \ home media mnt opt proc root run srv sys tmp \ - usr/{bin,games,include,%{_lib}/{games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ - var/{adm,empty,ftp,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache,opt,games,yp} + usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage},libexec,local/{bin,etc,games,lib,%{_lib}/bpf,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,appdata,applications,augeas/lenses,backgrounds,bash-completion{,/completions,/helpers},desktop-directories,dict,doc,empty,games,gnome,help,icons,idl,info,licenses,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},metainfo,mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11,wayland-sessions},src,src/kernels,src/debug} \ + var/{adm,empty,ftp,lib/{games,misc,rpm-state},local,log,nis,preserve,spool/{mail,lpd},tmp,db,cache/bpf,opt,games,yp} #do not create the symlink atm. #ln -snf etc/sysconfig etc/default @@ -245,6 +245,7 @@ restorecon /afs 2>/dev/null >/dev/null || : %ifarch x86_64 ppc64 sparc64 s390x aarch64 ppc64le mips64 mips64el riscv64 %attr(555,root,root) /usr/%{_lib} %else +%attr(555,root,root) /usr/lib/bpf %attr(555,root,root) /usr/lib/X11 %attr(555,root,root) /usr/lib/pm-utils %endif @@ -287,7 +288,8 @@ restorecon /afs 2>/dev/null >/dev/null || : /usr/tmp %dir /var /var/adm -/var/cache +%dir /var/cache +/var/cache/bpf /var/db /var/empty /var/ftp @@ -308,8 +310,8 @@ restorecon /afs 2>/dev/null >/dev/null || : /var/yp %changelog -* Thu Jul 25 2019 Fedora Release Engineering - 3.12-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild +* Wed Dec 18 2019 Ondrej Vasik - 3.13-1 +- add ownership for eBPF bytecode files directories (#1781646) * Thu Jun 20 2019 David Howells - 3.12-1 - add new -afs supbackage for /afs directory (#FPC888,#1720232)