OBS User unknown 2009-03-03 20:45:38 +00:00 committed by Git OBS Bridge
parent 7474d2d005
commit 861e6e991e
3 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,15 @@
--- panic.c
+++ panic.c
@@ -58,8 +58,11 @@
/* Something fatal has happened, print error message and exit.
*/
fprintf(stderr, "%s: %s\n", namep, a);
- if (fcreated)
+ if (fcreated){
+ PRIV_START
unlink(atfile);
+ PRIV_END
+ }
exit(EXIT_FAILURE);
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 2 16:52:17 CET 2009 - sebo@suse.de
- added cleanup_perm.patch to fix permissions for unlink (bnc#478733)
-------------------------------------------------------------------
Thu Feb 12 14:52:56 CET 2009 - mseben@suse.cz

View File

@ -26,7 +26,7 @@ License: GPL v2 or later
Group: System/Daemons
AutoReqProv: on
Version: 3.1.8
Release: 1071
Release: 1072
Summary: A Job Manager
Source: at_3.1.8-11.tar.gz
Source1: atd.init
@ -45,6 +45,8 @@ Patch9: %{name}-%{version}-pam.patch
Patch10: %{name}-%{version}-massive_batch.patch
Patch11: %{name}-%{version}-documentation-dir.patch
Patch12: %{name}-%{version}-queue-nice-level.patch
# PATCH-FIX-UPSTREAM cleanup_perm fix permissions for unlink (bnc#478733)
Patch13: %{name}-%{version}-cleanup_perm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: /usr/sbin/useradd /usr/sbin/groupadd %fillup_prereq %insserv_prereq
@ -75,6 +77,7 @@ Authors:
%patch10
%patch11
%patch12
%patch13
%build
%{?suse_update_config:%{suse_update_config -f}}
@ -151,6 +154,8 @@ fi
/var/adm/fillup-templates/sysconfig.atd
%changelog
* Mon Mar 02 2009 sebo@suse.de
- added cleanup_perm.patch to fix permissions for unlink (bnc#478733)
* Thu Feb 12 2009 mseben@suse.cz
- fixed nice level of queues : queue-nice-level.patch [bnc#225463]
* Thu Jan 08 2009 prusnak@suse.cz