Bug#815047: Still there with 3.0.4-1

2016-02-24 Thread Scott Kitterman
On Wednesday, February 24, 2016 07:56:33 AM you wrote:
> On Wed, 24 Feb 2016 12:49:29 +0100 Michael Meskes  wrote:
> > reopen 815047
> > thanks
> 
> > The latest uploaded does not seem to fix the problem:
> ...
> 
> > Feb 24 12:44:33 feivel postmulti[24558]: fatal: instance /etc/postfix,
> 
> shlib_directory=/usr/lib/postfix conflicts with instance /etc/postfix,
> daemon_directory=/usr/lib/postfix
> ...
> 
> Looks like the change in [1] got lost somewhere.  Given the current layout:
> 
> /usr/lib/
> ...
> /usr/lib/libpostfix-dns.so.1 -> libpostfix-dns.so.1.0.1
> /usr/lib/libpostfix-dns.so.1.0.1
> (which is the start of a list of file that amount to usr/lib/libpostfix-
> *.so.1{.0.1})
> ...
> /usr/lib/postfix/
> ...
> /usr/lib/postfix/sbin/
> /usr/lib/postfix/sbin/anvil
> etc
> 
> I think what lamont was going for was:
> shlib_directory=/usr/lib/postfix
> daemon_directory=/usr/lib/postfix/sbin
> 
> So the install location for the libpostfix files needs updating and the
> daemon_directory value needs to be corrected.  I'll take a stab at it.

OK.  I've pushed the fix to git, but I'm not 100% sure I know what lamont was 
after, so I'll leave it to him to review/upload once he's awake.

Scott K



Bug#815047: Still there with 3.0.4-1

2016-02-24 Thread Scott Kitterman
On Wed, 24 Feb 2016 12:49:29 +0100 Michael Meskes  wrote:
> reopen 815047
> thanks
> 
> The latest uploaded does not seem to fix the problem:
...
> Feb 24 12:44:33 feivel postmulti[24558]: fatal: instance /etc/postfix, 
shlib_directory=/usr/lib/postfix conflicts with instance /etc/postfix, 
daemon_directory=/usr/lib/postfix
...

Looks like the change in [1] got lost somewhere.  Given the current layout:

/usr/lib/
...
/usr/lib/libpostfix-dns.so.1 -> libpostfix-dns.so.1.0.1
/usr/lib/libpostfix-dns.so.1.0.1
(which is the start of a list of file that amount to usr/lib/libpostfix-
*.so.1{.0.1})
...
/usr/lib/postfix/
...
/usr/lib/postfix/sbin/
/usr/lib/postfix/sbin/anvil
etc

I think what lamont was going for was:
shlib_directory=/usr/lib/postfix
daemon_directory=/usr/lib/postfix/sbin

So the install location for the libpostfix files needs updating and the 
daemon_directory value needs to be corrected.  I'll take a stab at it.

Scott K


[1] 
https://git.launchpad.net/postfix/commit/?h=stable/v3.0=87d0c5193c06854ca6f212d14b0fa76c17ffde46



Bug#815047: Still there with 3.0.4-1

2016-02-24 Thread Michael Meskes
reopen 815047
thanks

The latest uploaded does not seem to fix the problem:

dpkg -l postfix

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  postfix3.0.4-1  amd64High-performance mail transport 
agent

systemctl start postfix.service; systemctl status postfix.service

● postfix.service - LSB: Postfix Mail Transport Agent
   Loaded: loaded (/etc/init.d/postfix; bad; vendor preset: enabled)
  Drop-In: /run/systemd/generator/postfix.service.d
   └─50-postfix-$mail-transport-agent.conf
   Active: active (exited) since Mi 2016-02-24 12:44:34 CET; 1min 39s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 24148 ExecStop=/etc/init.d/postfix stop (code=exited, 
status=0/SUCCESS)
  Process: 24552 ExecStart=/etc/init.d/postfix start (code=exited, 
status=0/SUCCESS)

Feb 24 12:44:33 feivel systemd[1]: Starting LSB: Postfix Mail Transport Agent...
Feb 24 12:44:33 feivel postmulti[24558]: fatal: instance /etc/postfix, 
shlib_directory=/usr/lib/postfix conflicts with instance /etc/postfix, 
daemon_directory=/usr/lib/postfix
Feb 24 12:44:34 feivel postfix[24552]: Starting Postfix Mail Transport Agent: 
postfix.
Feb 24 12:44:34 feivel systemd[1]: Started LSB: Postfix Mail Transport Agent.
Feb 24 12:45:37 feivel systemd[1]: Started LSB: Postfix Mail Transport Agent.
Feb 24 12:45:56 feivel systemd[1]: Started LSB: Postfix Mail Transport Agent.
Feb 24 12:46:13 feivel systemd[1]: Started LSB: Postfix Mail Transport Agent.

It does claim success despite the fatal message. Needless to say the system is 
down afterwards.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL