[Mageia-dev] [systemd error flag] Re: [changelog] [RPM] cauldron core/release nginx-1.0.10-2.mga2

2012-03-16 Thread Guillaume Rousse

Le 16/03/2012 09:51, Guillaume Rousse a écrit :

Le 16/03/2012 08:37, Thierry Vignaud a écrit :

On 15 March 2012 20:47, guillomovitchbuildsystem-dae...@mageia.org
wrote:

guillomovitchguillomovitch 1.0.10-2.mga2:
+ Revision: 223512
- sync configuration files with fedora package
- drop useless apache dependency
- spec cleanup
- systemd support


ahem:

8/36: nginx ##warning: /etc/nginx/nginx.conf
created as /etc/nginx/nginx.conf.rpmnew
###

Migrating sysvinit service 'nginx' to systemd native unit
'nginx.service' for target 'graphical.target'
warning: %post(nginx-1.0.10-2.mga2.x86_64) scriptlet failed, exit
status 1

There is no specific handling for this issue in nginx spec file, si I'd
rather think of a generic migration issue. Maybe the fact than pid file
location changed between the two releases ?

Let me call a joker... Colin :) ?

--
BOFH excuse #193:

Did you pay the new Support Fee?


Re: [Mageia-dev] [systemd error flag] Re: [changelog] [RPM] cauldron core/release nginx-1.0.10-2.mga2

2012-03-16 Thread Colin Guthrie
'Twas brillig, and Guillaume Rousse at 16/03/12 13:55 did gyre and gimble:
 Le 16/03/2012 09:51, Guillaume Rousse a écrit :
 Le 16/03/2012 08:37, Thierry Vignaud a écrit :
 On 15 March 2012 20:47, guillomovitchbuildsystem-dae...@mageia.org
 wrote:
 guillomovitchguillomovitch 1.0.10-2.mga2:
 + Revision: 223512
 - sync configuration files with fedora package
 - drop useless apache dependency
 - spec cleanup
 - systemd support

 ahem:

 8/36: nginx ##warning: /etc/nginx/nginx.conf
 created as /etc/nginx/nginx.conf.rpmnew
 ###


 Migrating sysvinit service 'nginx' to systemd native unit
 'nginx.service' for target 'graphical.target'
 warning: %post(nginx-1.0.10-2.mga2.x86_64) scriptlet failed, exit
 status 1
 There is no specific handling for this issue in nginx spec file, si I'd
 rather think of a generic migration issue. Maybe the fact than pid file
 location changed between the two releases ?
 Let me call a joker... Colin :) ?

:)

Not sure why the scriptlet failed

This is part of %_post_service btw.

I guess I'll have to have a look.

Col



-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/