This is a known problem from my perspective and not necessarily an RPM
problem. I have seen it before, but not consistently. Certainly not
enough to debug it or reproduce it. If you can find a way to
consistently reproduce the bug I might be able to fix it. But until I
can reproduce it I just have not been able to debug it.

I suspect this happens when the older rpm installed rxapid using the
classic SystemV interface and the new rpm is installed using the new
systemctl interface. It appears the old rpm is not being entirely
removed and then when you install and remove the new rpm that causes
everything to be cleaned up properly. But this is just a a guess on my
part.

Luckily, as you have discovered, just reinstalling the rpm will almost
always fix the problem.

David Ashley

On Fri, 2014-01-31 at 18:09 -0600, J. Leslie Turriff wrote:
> On Thursday 30 January 2014 19:03:10 J. Leslie Turriff wrote:
> > On Thursday 30 January 2014 16:55:44 Mark Miesfeld wrote:
> > > Since you are installing, why don't you install the ooRexx 4.2.0 release
> > > candidate instead.  That way if you find a bug, and open a bug report,
> > > you stand a good chance of having it fixed in the upcoming release.
> >
> >     I might try that, too.
> >
>       And so I did.  I ran 
> 
> rpm -e ooRexx
> 
>       then
> 
> rpm -ivf 
> ~leslie/Downloads/Packages/ooRexx-related/ooRexx/V4.2.0/ooRexx-4.2.0-9860.opensuse1310.x86_64.rpm
> 
>       And got this:
> ====================================================================
> Preparing packages...
> ooRexx-4.2.0-9860.opensuse1230.x86_64
> Job for rxapid.service failed. See 'systemctl status rxapid.service' 
> and 'journalctl -xn' for details.
> warning: %post(ooRexx-4.2.0-9860.opensuse1230.x86_64) scriptlet failed, exit 
> status 1
> ====================================================================
> 
>       I ran
> 
> systemctl status rxapid.service
> 
>       and I saw
> ====================================================================
> rxapid.service - ooRexx rxapi service
>    Loaded: loaded (/usr/share/ooRexx/rxapid.service)
>    Active: failed (Result: exit-code) since Fri 2014-01-31 17:56:56 CST; 35s 
> ago
>   Process: 14105 ExecStart=/usr/bin/rxapi (code=exited, status=255)
>   Process: 14103 ExecStartPre=/bin/rm -f /var/run/rxapid.pid (code=exited, 
> status=0/SUCCESS)
> 
> Jan 31 17:56:56 pinto systemd[1]: rxapid.service: control process exited, 
> code=exited status=255
> Jan 31 17:56:56 pinto systemd[1]: Failed to start ooRexx rxapi service.
> Jan 31 17:56:56 pinto systemd[1]: Unit rxapid.service entered failed state.
> ====================================================================
>       After running
> 
> rpm -e ooRexx
> 
>       I reran 
> 
> rpm -ivf 
> ~leslie/Downloads/Packages/ooRexx-related/ooRexx/V4.2.0/ooRexx-4.2.0-9860.opensuse1310.x86_64.rpm
> 
>       again, and it completed without errors.
> 
>       This leads me to believe that rpm -e does not terminate the rxapid 
> service.  
> Is there a provision in RPM packaging to handle such a requirement, or is 
> this something that needs to be documented as a separate step?
> 
> Leslie
> 
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable 
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users



------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to