From 9646332e41b231aa0c1b0a1d1e46833c45a3003c Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mar 25 2022 11:37:16 +0000 Subject: Assume ownership of /usr/lib/tmpfiles.d Currently, systemd is the sole owner of /usr/lib/tmpfiles.d (ie., _tmpfilesdir). Therefore, in theory, every package that drops a file into /usr/lib/tmpfiles.d should have a run-time dependency on systemd. However, that would adversely affect containers. Packages will start to pull in systemd for what might be a potentially optional configuration file. https://bugzilla.redhat.com/show_bug.cgi?id=2068460 https://pagure.io/packaging-committee/pull-request/1017 https://pagure.io/filesystem/pull-request/6 --- diff --git a/filesystem.spec b/filesystem.spec index 6772d3a..c01ff40 100644 --- a/filesystem.spec +++ b/filesystem.spec @@ -1,6 +1,6 @@ Summary: The basic directory layout for a Linux system Name: filesystem -Version: 3.16 +Version: 3.17 Release: 1%{?dist} License: Public Domain URL: https://pagure.io/filesystem @@ -45,7 +45,7 @@ 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 root run srv tmp \ - 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} \ + usr/{bin,games,include,%{_lib}/{bpf,games,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{debug/{.dwz,usr},games,locale,modules,sysimage,tmpfiles.d},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. @@ -222,6 +222,7 @@ restorecon /afs 2>/dev/null >/dev/null || : /usr/include %dir %attr(555,root,root) /usr/lib %dir /usr/lib/sysimage +%dir /usr/lib/tmpfiles.d %dir /usr/lib/locale %dir /usr/lib/modules %dir /usr/lib/debug @@ -305,6 +306,9 @@ restorecon /afs 2>/dev/null >/dev/null || : /var/yp %changelog +* Fri Dec 17 2021 Debarshi Ray - 3.17-1 +- Assume ownership of /usr/lib/tmpfiles.d + * Tue Aug 3 2021 Pavel Zhukov - 3.15-1 - Move /afs into main package