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

Re: trigger question

On Mon, Mar 10, 2003 at 11:40:43AM -0500, Robin Mordasiewicz wrote:
> I am working on a custom openssh rpm.
> Does a trigger recognize rpm revision numbers ?
> I have the folling line in a spec file for openssh-3.4p1-4, the reason for
> this is because previously in my custom openssh-3.4p1-1 I erroneously
> decided to remove the sshd user in the %postun, so after performing an
> upgrade I am left without the sshd user.
> I am attempting to write a trigger that will reinstall the sshd user if
> openssh-3.4p1-1 is uninstalled, but  I encounter an error saying that it
> is trying to execute a sciptlet from package openssh-3.4p1

Debug your script. The same rpm error message mentions the temp file
in /var/tmp that contains the failing code. Run outside of rpm until
you see your problem.

73 de Jeff

Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC

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