Bugs item #1144023, was opened at 2005-02-18 20:48
Message generated for change (Comment added) made by righiandr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1144023&group_id=259

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: packaging
Group: v3.2.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Andrea Righi (righiandr)
Summary: systemimager-server %preun doesn't handle upgrade case

Initial Comment:
The systemimager.spec file has a "%preun" clause to
handle cleaning up after itself.  The %preun clause is
mainly dealing w/ the removal of the rsync service. 

The %preun clause is also called when rpm is passed the
-U (upgrade) flag.  And, during an upgrade, the new
package is installed first, and then the old package is
removed last.  As a result, the %preun code is removing
all remnants of the rsync service, even though the
package isn't going away.

The %preun code should test whether an upgrade
operation is underway, and if so, not execute the code
to remove the rsync service.  The following is an
example of how to do this:

%preun server
if [ "$1" -lt 1 ]; then

# this must be a remove operation, so clean up the
rsync stuff
...
...
...

fi

Steve Grandinetti ([EMAIL PROTECTED])

----------------------------------------------------------------------

>Comment By: Andrea Righi (righiandr)
Date: 2006-11-21 14:34

Message:
Logged In: YES 
user_id=696767
Originator: NO

Fixed in trunk.

-Andrea

----------------------------------------------------------------------

Comment By: dann frazier (dannf)
Date: 2006-11-20 19:49

Message:
Logged In: YES 
user_id=146718
Originator: NO

I am no longer active in upstream development, so removing myself from the
owner field.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1144023&group_id=259

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to