rpms/bind/FC-4 bind.spec,1.68,1.69

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Mar 20 21:43:35 UTC 2006


Author: jvdias

Update of /cvs/dist/rpms/bind/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv4699

Modified Files:
	bind.spec 
Log Message:
remove fix for bug 181730


Index: bind.spec
===================================================================
RCS file: /cvs/dist/rpms/bind/FC-4/bind.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- bind.spec	7 Mar 2006 21:48:18 -0000	1.68
+++ bind.spec	20 Mar 2006 21:43:33 -0000	1.69
@@ -9,7 +9,7 @@
 Name: bind
 License: BSD-like
 Version: 9.3.1
-Release: 16_FC4
+Release: 16.1_FC4
 Epoch:   24
 Url: http://www.isc.org/products/BIND/
 Buildroot: %{_tmppath}/%{name}-root
@@ -364,15 +364,7 @@
    # create named group IFF it does not already exist 
    # - use any free ID between 1 and 499 if group 25 exists:
    /usr/sbin/groupadd -g 25 -f -r named >/dev/null 2>&1 || :;
-   # if named user does not already exist, create it as system user:
-   if ! /usr/bin/id -u named > /dev/null 2>&1; then
-      if ! /bin/egrep -q '^[^:]+:[^:]+:25:' /etc/passwd >/dev/null 2>&1 ; then
-         /usr/sbin/useradd -u 25 -r -n -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 || :;
-      else
-         # use any free ID between 1 and 499:
-         /usr/sbin/useradd -r -n -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 || :;
-      fi;
-   fi;
+   /usr/sbin/useradd -u 25 -r -n -M -g named -s /sbin/nologin -d /var/named -c Named named >/dev/null 2>&1 || :;
 fi;
 :;
 
@@ -751,7 +743,6 @@
 
 %changelog
 * Tue Mar 07 2006 Jason Vas Dias <jvdias at redhat.com> - 24:9.3.1-16
-- fix bug 181730: fix creation of named user & gid
 - fix bug 179816: fix builds for all combinations of WITH_DBUS=0/1 SDB=0/1 LIBBIND=0/1                  
 - fix bug 177595: handle case where $ROOTDIR is a link in initscript 
 - improve method used to mount /proc and /var/run/dbus under chroot in initscript 




More information about the fedora-cvs-commits mailing list