Hi Jean,
* Jean-Luc Coulon (f5ibh) <[EMAIL PROTECTED]> [2008-06-25 12:25]:
> I've updated from 6.3.8-11 to 6.3.9~rc2-1
> fetchmail does start after the upgrade.
> I've tried to purge everything and reinstall:

Strange, it looks to me that this is a change in su's 
behaviour. I did not change the init script between the 
uploads. Can you try the attached patch?
It solves the problem for me.

Hector, if this patch works, could you do an upload to fix 
this? I will be away until monday.

Kind regards
Nico

-- 
Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
--- fetchmail	2008-06-25 13:05:36.000000000 +0200
+++ fetchmail.new	2008-06-25 13:06:25.000000000 +0200
@@ -134,7 +134,7 @@
 			fi
 		fi
 	        log_begin_msg "Starting mail retriever agent:" "fetchmail"
-		if start-stop-daemon -S -o -q -p $PIDFILE -x $DAEMON -u $USER -a /bin/su -- -c "$DAEMON $OPTIONS" $USER; then
+		if start-stop-daemon -S -o -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -- $OPTIONS; then
 			log_end_msg 0
 		else
 			log_end_msg 1
@@ -161,7 +161,7 @@
 			exit 1
 		fi
 		sleep 1
-		if start-stop-daemon -S -q -p $PIDFILE -x $DAEMON -u $USER -a /bin/su -- -c "$DAEMON $OPTIONS" $USER; then
+		if start-stop-daemon -S -q -p $PIDFILE -x $DAEMON -u $USER -c $USER -- $OPTIONS; then
 			log_end_msg 0
 		else
 			log_end_msg 1

Attachment: pgpjQt7JelGMz.pgp
Description: PGP signature

Reply via email to