[filesystem] own and create /var/adm, /var/gopher and /var/spool/uucp (#752885)

Ondrej Vasik ovasik at fedoraproject.org
Fri Nov 11 12:50:03 UTC 2011


commit 5be6c73e7b032c0fe8634aae46988227eb948efd
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Fri Nov 11 13:49:57 2011 +0100

    own and create /var/adm, /var/gopher and /var/spool/uucp (#752885)

 filesystem.spec |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/filesystem.spec b/filesystem.spec
index c8b1581..d1db41a 100644
--- a/filesystem.spec
+++ b/filesystem.spec
@@ -1,7 +1,7 @@
 Summary: The basic directory layout for a Linux system
 Name: filesystem
-Version: 2.4.44
-Release: 2%{?dist}
+Version: 2.4.45
+Release: 1%{?dist}
 License: Public Domain
 URL: https://fedorahosted.org/filesystem
 Group: System Environment/Base
@@ -35,7 +35,7 @@ mkdir -p bin boot dev \
         etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \
         home lib/modules %{_lib}/tls media mnt opt proc root run/lock sbin srv sys tmp \
         usr/{bin,etc,games,include,%{_lib}/{games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,sse2},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,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes,xsessions,X11},src,src/kernels,src/debug} \
-        var/{empty,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp}
+        var/{adm,empty,gopher,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
 
 ln -snf ../var/tmp usr/tmp
 ln -snf spool/mail var/mail
@@ -172,10 +172,12 @@ posix.symlink("../run/lock", "/var/lock")
 /usr/src
 /usr/tmp
 %dir /var
+/var/adm
 /var/cache
 /var/db
 /var/empty
 /var/games
+/var/gopher
 /var/lib
 /var/local
 %ghost %dir %attr(755,root,root) /var/lock
@@ -189,12 +191,15 @@ posix.symlink("../run/lock", "/var/lock")
 %dir /var/spool
 %attr(755,root,root) /var/spool/lpd
 %attr(775,root,mail) /var/spool/mail
+%attr(755,uucp,uucp) /var/spool/uucp
 %attr(1777,root,root) /var/tmp
 /var/yp
 
 %changelog
-* Wed Aug 17 2011 Ondrej Vasik <ovasik at redhat.com>  2.4.44-2
-- rebuild because of brown paperbag bug of rpm-4.9.1
+* Fri Nov 11 2011 Ondrej Vasik <ovasik at redhat.com>  2.4.45-1
+- own and create /var/adm, /var/gopher and /var/spool/uucp
+  as these are homedirs for default legacy system accounts
+  (#752885)
 
 * Fri Jul 29 2011 Ondrej Vasik <ovasik at redhat.com>  2.4.44-1
 - drop ownership of /selinux - moved to /sys/fs/selinux(#726528)


More information about the scm-commits mailing list