rpmbuild and upgrades

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having difficulty with building an RPM file to upgrade.  The issue
comes when I need to add and delete a user.  In the spec file I have it
creating the user in %pre and removing the user in %postun.  I'm using
useradd and userdel to create and delete the user.  When I build and
install the RPM everything works as expected, same goes when I remove
it.  But when I do an rpm -U for an upgrade for some reason when all is
said and done the user does not exist.  Anyone know what's going on?
 	
-------------------
Michael P. McGrath
Senior Systems Engineer


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux