better fix for bug 150131: change DAEMON_{USER,GROUP}NAME to root.

This commit is contained in:
jvdias 2005-03-08 17:46:51 +00:00
parent 2d2d9d38f4
commit 2ebd9911ba

13
at.spec
View File

@ -7,7 +7,7 @@
Summary: Job spooling tools.
Name: at
Version: 3.1.8
Release: 66_FC4
Release: 67_FC4
License: GPL
Group: System Environment/Daemons
Source: http://ftp.debian.org/debian/pool/main/a/at/at_3.1.8-11.tar.gz
@ -35,7 +35,6 @@ Patch24: at-3.1.8-t_option.patch
Patch25: at-3.1.8-usage.patch
Patch26: at-3.1.8-fix_no_export.patch
Patch27: at-3.1.8-pam.patch
Patch28: at-3.1.8-bug_150131.patch
Prereq: fileutils chkconfig /etc/init.d
BuildPrereq: flex bison autoconf
@ -100,14 +99,16 @@ cp %{SOURCE1} .
%patch25 -p1 -b .usage
%patch26 -p1 -b .fix_no_export
%patch27 -p1 -b .pam
%patch28 -p1 -b .bug_150131
%build
# patch10 touches configure.in
autoconf
# for patch11
rm -f lex.yy.* y.tab.*
%configure --with-atspool=%{_localstatedir}/spool/at/spool --with-jobdir=%{_localstatedir}/spool/at \
%configure --with-atspool=%{_localstatedir}/spool/at/spool \
--with-jobdir=%{_localstatedir}/spool/at \
--with-daemon_username=root \
--with-daemon_groupname=root \
%if %{WITH_SELINUX}
--with-selinux \
%endif
@ -185,6 +186,10 @@ fi
%attr(4755,root,root) %{_bindir}/at
%changelog
* Tue Mar 08 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-67
* better fix for bug 150131: change DAEMON_USERNAME and
* DAEMON_GROUPNAME to 'root' .
* Mon Mar 07 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-66
- fix bug 150131: atd should not relinquish root privilege if
- doing su(1) equivalent with PAM .