[rabbitmq-discuss] SuSE: 2.8.0 start script uses 'runuser'

Josh Geisser josh at gebaschtel.ch
Thu Mar 22 14:14:41 GMT 2012


Thanks for the fast response

Actually, removing the whole START_PROG works as workaround for us with the 2.8.0-1.suse.noarch.rpm

Thanks a lot
Cheers
Josh

-----Ursprüngliche Nachricht-----
Von: Steve Powell [mailto:steve at rabbitmq.com] 
Gesendet: Dienstag, 20. März 2012 13:24
An: Josh Geisser
Cc: rabbitmq-discuss at lists.rabbitmq.com
Betreff: Re: [rabbitmq-discuss] SuSE: 2.8.0 start script uses 'runuser'

Dear Josh,

Thanks for telling us about this -- this is rather embarrassing. In
attempting to get Linux server installations to start the rabbitmq-service
without blocking shutdown, we used runuser for certain systems. Our
mistake.

A workaround ought to be to replace runuser in the relevant script, as
below:

On line 29 (or thereabouts) in the rabbitmq-server script in init.d
there is a line like this:

START_PROG="runuser rabbitmq --session-command"

which you should replace with:

START_PROG="setsid"

This will cause the rabbitmq-server service to be started with 'su'. Be
aware that this might inhibit shutdown (since su creates a PAM session
for the user rabbitmq).

We'll update our SuSE rpm file, when we find a proper solution to this.

Steve Powell  (a happy bunny)
----------some more definitions from the SPD----------
vermin (v.) Treating the dachshund for roundworm.
chinchilla (n.) Cooling device for the lower jaw.
socialcast (n.) Someone to whom everyone is speaking but nobody likes.

On 20 Mar 2012, at 08:34, Josh Geisser wrote:

> Hi all
>  
> I just noticed that 'rabbitmq-server-2.8.0-1.suse.noarch.rpm' throws the following error when being started:
>  
> /etc/init.d/rabbitmq-server: line 60: runuser: command not found
>  
> The old 2.7.1 packaged rc-script was just fine
>  
> FYI & cheers
> Josh
>  
> /etc/SuSE-release sais we're using
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 1
> -- 
> ----
> ASG at hnet
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


-- 
----
ASG at hnet


More information about the rabbitmq-discuss mailing list