Bugzilla – Bug 809400
Postgrey from default Repo does not install postgrey.service
Last modified: 2014-03-25 10:06:10 UTC
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 Fresh installation of Postgrey does not install postgrey.service files at all. Therefore Postgrey does not start nor stop properly. Reproducible: Always Steps to Reproduce: 1. Install Postgrey 2. Try to start or stop postgrey 3. Check errors Actual Results: no systemd files for Postgrey under /lib/systemd/system/ and under /etc/systemd/system/ Expected Results: Distribute the working Postgrey Version which includes all files for systemd from http://download.opensuse.org/repositories/server:/mail/openSUSE_12.3 Repo
Jörg, it should work without service files at all - with the traditional SysV init files. Please show the output of systemctl status postgreq.service
It is working somehow but nor right. I can start postgrey with init script but got an error. But i cant stop postgrey even the system tells me it was stopped.. i have to kill the process. it is pretty easy to duplicate. -Please show the output of -systemctl status postgreq.service ------------------------------------------------- linux-l098:~ # systemctl status postgrey.service postgrey.service - LSB: Postgrey a greylisting server for postfix Loaded: loaded (/etc/init.d/postgrey) Active: failed (Result: exit-code) since Wed, 2013-03-27 09:48:25 CET; 3min 46s ago Process: 15828 ExecStart=/etc/init.d/postgrey start (code=exited, status=7) CGroup: name=systemd:/system/postgrey.service Mar 27 09:48:25 linux-l098.site postgrey[15836]: 2013/03/27-09:48:25 postgrey (type Net::Server::Multiplex) starting! pid(15836) Mar 27 09:48:25 linux-l098.site postgrey[15836]: Using default listen value of 128 Mar 27 09:48:25 linux-l098.site postgrey[15836]: Binding to UNIX socket file /var/spool/postfix/postgrey/socket using SOCK_STREAM Mar 27 09:48:25 linux-l098.site postgrey[15836]: Setting gid to "51 51" Mar 27 09:48:25 linux-l098.site postgrey[15836]: Setting uid to "498" Mar 27 09:48:25 linux-l098.site postgrey[15836]: FATAL: ERROR: locked: /var/lib/postgrey/postgrey.lock Mar 27 09:48:25 linux-l098.site postgrey[15828]: ..failed Mar 27 09:48:25 linux-l098.site systemd[1]: Failed to start LSB: Postgrey a greylisting server for postfix. Mar 27 09:48:25 linux-l098.site systemd[1]: Unit postgrey.service entered failed state Mar 27 09:50:11 linux-l098.site postgrey[15723]: 2013/03/27-09:50:11 Server closing! --------------------------------------------------------------------------- linux-l098:~ # systemctl start postgrey.service Job for postgrey.service failed. See 'systemctl status postgrey.service' and 'journalctl -n' for details. ---------------------------------------------------------------------------- linux-l098:~ # rcpostgrey start redirecting to systemctl start postgrey Job for postgrey.service failed. See 'systemctl status postgrey.service' and 'journalctl -n' for details. ----------------------------------------------------------------------------- linux-l098:~ # ps -aux | grep postgr postgrey 15890 0.0 0.2 14336 9924 ? Ss 09:53 0:00 /usr/sbin/postgrey -d --unix=/var/spool/postfix/postgrey/socket --auto-whitelist-clients ------------------------------------------------------------------------------ linux-l098:~ # rcpostgrey stop redirecting to systemctl stop postgrey linux-l098:~ # rcpostgrey status Checking for service postgrey: unused postgrey.service - LSB: Postgrey a greylisting server for postfix ---------------------------------------------------------------------------- linux-l098:~ # ps -aux | grep postgr postgrey 15890 0.0 0.2 14336 9924 ? Ss 09:53 0:00 /usr/sbin/postgrey -d --unix=/var/spool/postfix/postgrey/socket --auto-whitelist-clients
I see this is on 'needinfo' I think this is the same bug as this one: https://bugzilla.novell.com/show_bug.cgi?id=815160 and also relates to: https://bugzilla.novell.com/show_bug.cgi?id=782364 I'm running on "openSUSE 12.3 (x86_64)", and have same probles with postgrey... opensuse:/etc # /etc/init.d/postgrey status Checking for service postgrey: ..unused postgrey.service - LSB: Postgrey a greylisting server for postfix Loaded: loaded (/etc/init.d/postgrey) Active: failed (Result: exit-code) since Thu, 2013-07-11 17:32:22 CEST; 19h ago Process: 3689 ExecStart=/etc/init.d/postgrey start (code=exited, status=7) CGroup: name=systemd:/system/postgrey.service └ 3697 /usr/sbin/postgrey -d --inet=127.0.0.1:10031 --aut... opensuse:/etc # ps -ef | grep posrgrey root 24424 22880 0 12:35 pts/0 00:00:00 grep --color=auto posrgrey
*** Bug 815160 has been marked as a duplicate of this bug. ***
is a duplicate *** This bug has been marked as a duplicate of bug 782364 ***
This is an autogenerated message for OBS integration: This bug (809400) was mentioned in https://build.opensuse.org/request/show/226515 12.3 / postgrey
This is an autogenerated message for OBS integration: This bug (809400) was mentioned in https://build.opensuse.org/request/show/226595 13.1+12.3 / postgrey
openSUSE-RU-2014:0441-1: An update that has four recommended fixes can now be installed. Category: recommended (low) Bug References: 782364,809400,815160,862552 CVE References: Sources used: openSUSE 12.3 (src): postgrey-1.34-22.3.1, postgrey-1.34-22.4.1