|
|
Message-ID: <8765h76sjf.fsf@lizard.ds.pg.gda.pl>
Date: Wed, 26 Nov 2003 16:47:16 +0100
From: Maciek Pasternacki <maciekp@...hy.fnord.org>
To: owl-users@...ts.openwall.com
Subject: Bug in Postfix remove script
I use Owl with qmail as MTA, so I don't need Postfix on my system;
when I try to uninstall Postfix, rpm script quits with an error
message:
rmdir: `/var/spool/postfix/[^m]*': No such file or directory
When I create any subdirectory under /var/spool/postfix not starting
with `m', everything works fine, but IMHO this is a bug in Postfix'
preun script. Following patch (made against current CVS version of
the native tree) should fix the problem:
#v+
diff -u -r1.19 postfix.spec
--- packages/postfix/postfix.spec 30 Oct 2003 21:15:47 -0000 1.19
+++ packages/postfix/postfix.spec 26 Nov 2003 15:45:32 -0000
@@ -183,7 +183,7 @@
rm -f /etc/postfix/aliases.db
find /var/spool/postfix \( -type p -o -type s \) -delete
rm -f /var/spool/postfix/{pid,etc,lib}/*
- rmdir /var/spool/postfix/[^m]*
+ rmdir /var/spool/postfix/[^m]* || true
fi
%files -f filelist
#v-
--
__ Maciek Pasternacki <maciekp@...hy.fnord.org> [ http://japhy.fnord.org/ ]
`| _ |_\ / { ...you claimed all this time that you would die for me,
,|{-}|}| }\/ why then are you so surprised when you hear your own eulogy... }
\/ |____/ ( M. J. Keenan ) -><-
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.