vserver and scripts provided by rpm package
Elan Ruusamäe
glen at delfi.ee
Thu Jul 21 17:46:19 CEST 2005
so... mysql (or anything that uses %userremove/%groupremove) must depend on
rpm package?
what about embedding the scripts into %scriptlets, than using the external
shell script? same goes for %banner i guess.
then can put dependencies on actual programs being used, be it /bin/id
or /usr/sbin/userdel.
# vpoldek mysql-slave -- -e mysql
vpoldek: operating on vserver mysql-slave
There are 1 package to remove:
R mysql-4.1.12-2.5
Proceed? [y/N]
Running vrpm-preload --erase --root /vservers/mysql-slave...
/var/tmp/rpm-tmp.33133[6]: /usr/lib/rpm/user_group.sh: not found
/var/tmp/rpm-tmp.33133[6]: /usr/lib/rpm/user_group.sh: not found
error: %postun(mysql-4.1.12-2.5.i686) scriptlet failed, exit status 127
vpoldek failed on vserver 'mysql-slave' with errorcode 1
--
glen
More information about the pld-devel-en
mailing list