Bug#868861: Mitigation

2021-09-22 Thread Michiel Hazelhof
The complete and better walkthrough (systemd users only!), some parts
might be redundant if you allready migrated to the proper systemd
invocations:

This completely fixed the "There are processes named 'apache2' running
which do not match your pid file which are left untouched in the name of
safety, Please review the situation by hand. ..." warning (and the
application kill that follows).

0: systemctl disable apache2-instancename && systemctl stop
apache2-instancename
1: delete /etc/init.d/apache2 and /etc/init.d/apache2-instancename
3: ln -s /usr/sbin/apache2 /usr/sbin/apache2-instancename
4: edit /usr/sbin/apache2ctl:
- Find: HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2}
- Replace with: HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2$SUFFIX}
5: systemctl enable apache2@instancename && systemctl start
apache2@instancename

Important notices:
0: that your envvars in the apache config should change the suffix from
@instancename to -instancename as is debians default (if not simply do
the ln -s with @ instead of -)!
1: After every apache upgrade the /usr/sbin/apache2ctl mod needs to be
performed again!

On Tue, 6 Jul 2021 09:47:09 +0200 Michiel Hazelhof 
wrote:

> Made two small tweaks to hopefully mitigate this behaviour:
... Do not follow this post anymore!


OpenPGP_signature
Description: OpenPGP digital signature


Bug#868861: High priority

2021-09-22 Thread Michiel Hazelhof
Can we set this bug to high priority?

This is a sneaky bug that causes instances to get whacked by systemd and
causes random dropouts that are (very) hard to diagnose depending on the
users skill level.

-- 
With regards,

Michiel Hazelhof.



OpenPGP_signature
Description: OpenPGP digital signature


Bug#868861: Mitigation

2021-07-06 Thread Michiel Hazelhof
Made two small tweaks to hopefully mitigate this behaviour:

ln -s /usr/sbin/apache2 /usr/sbin/apache2-instancename

edit /usr/sbin/apache2ctl:

change:

SUFFIX="${APACHE_CONFDIR##/etc/apache2-}"
case "$SUFFIX" in
    /etc/apache2)
    SUFFIX=""
    ;;
    *)
    SUFFIX="@$SUFFIX"
    ;;
esac

to:

EXTRA=""
SUFFIX="${APACHE_CONFDIR##/etc/apache2-}"
case "$SUFFIX" in
    /etc/apache2)
    SUFFIX=""
    ;;
    *)
    EXTRA="-$SUFFIX"
    SUFFIX="@$SUFFIX"
    ;;
esac


change:

HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2}

to:

HTTPD=${APACHE_HTTPD:-/usr/sbin/apache2$EXTRA}


This at least gets it running with a different "name", lets hope this
resolves the "There are processes named 'apache2' running which do not
match your pid file which are left untouched in the name of safety," issue.

With regards,

Michiel Hazelhof.



OpenPGP_signature
Description: OpenPGP digital signature


Bug#921075: postfix: Email Address Internationalization (EAI) is missing, breaking UTF8 support (smtputf8_enable)

2019-02-01 Thread Michiel Hazelhof
Package: postfix
Version: 3.3.2-1+b1
Severity: important
Tags: l10n

Dear Maintainer,

Please reinstate EAI support, this is a vital component for modern mailservers.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser3.118
ii  cpio   2.12+dfsg-6
ii  debconf [debconf-2.0]  1.5.70
ii  dpkg   1.19.2
ii  e2fsprogs  1.44.5-1
ii  libc6  2.28-5
ii  libdb5.3   5.3.28+dfsg1-0.2
ii  libsasl2-2 2.1.27+dfsg-1
ii  libssl1.1  1.1.1a-1
ii  lsb-base   10.2018112800
ii  netbase5.5
ii  ssl-cert   1.0.39

Versions of packages postfix recommends:
ii  python3  3.7.2-1

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]8.1.2-0.20180807cvs-1
ii  dovecot-core [dovecot-common]  2:2.3.4-2~stretch
ii  libsasl2-modules   2.1.27+dfsg-1
pn  postfix-cdb
pn  postfix-doc
pn  postfix-ldap   
pn  postfix-lmdb   
ii  postfix-mysql  3.3.2-1+b1
ii  postfix-pcre   3.3.2-1+b1
pn  postfix-pgsql  
ii  postfix-sqlite 3.3.2-1+b1
ii  procmail   3.22-26
ii  resolvconf 1.79
ii  s-nail [mail-reader]   14.9.11-2
pn  sasl2-bin  
pn  ufw

-- Configuration Files:
/etc/postfix/postfix-files changed [not included]
/etc/ppp/ip-down.d/postfix [Errno 2] No such file or directory: 
'/etc/ppp/ip-down.d/postfix'
/etc/ppp/ip-up.d/postfix [Errno 2] No such file or directory: 
'/etc/ppp/ip-up.d/postfix'

-- debconf information excluded