[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-04-08 Thread Heitor R. Alves de Siqueira
I've been doing some research on how we could implement a proper systemd unit file for slapd, and came up with interesting results. There are a number of options that we can pass to the slapd service that will give us lots of troubles on an "idiomatic" service file. To give some examples: - The

[Touch-packages] [Bug 1821343] [NEW] slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
ld make the slapd service behave like a "normal" forking service. Nonetheless, we'll perform scripted test runs to make sure no regressions arise. ** Affects: openldap (Ubuntu) Importance: Medium Assignee: Heitor R. Alves de Siqueira (halves) Status: Confirmed ** Affe

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1821343 Title: slapd process failure is not detected by systemd Status in openldap package in Ubuntu: Confirmed Status

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
** Patch added: "debdiff for xenial" https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1821343/+attachment/5248493/+files/lp1821343-xenial.debdiff ** Tags added: sts-sponsor -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
** Patch added: "debdiff for bionic" https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1821343/+attachment/5248492/+files/lp1821343-bionic.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openldap in Ubuntu.

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
** Patch added: "debdiff for disco" https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1821343/+attachment/5248489/+files/lp1821343-disco.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openldap in Ubuntu.

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
** Patch added: "debdiff for cosmic" https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1821343/+attachment/5248490/+files/lp1821343-cosmic.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openldap in Ubuntu.

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-03-22 Thread Heitor R. Alves de Siqueira
The sysv init script does some funky parsing of configuration files that might give us some trouble in an independent service file. I'll check if we can't work around that and do away with the sysv init script altogether, otherwise we might as well go with the drop-in override since the new

[Touch-packages] [Bug 1815129] [NEW] apt segfaults when generating cache file

2019-02-07 Thread Heitor R. Alves de Siqueira
Public bug reported: [Impact] apt crashes (core dump) during cache creation [Description] When executing apt-cache several times on a memory constrained system, apt-cache can sometimes crash with a core dump file. This is related to mmap() failing allocations during cache generation, according

[Touch-packages] [Bug 1815129] Re: apt segfaults when generating cache file

2019-02-08 Thread Heitor R. Alves de Siqueira
** Description changed: [Impact] apt crashes (core dump) during cache creation [Description] When executing apt-cache several times on a memory constrained system, apt-cache can sometimes crash with a core dump file. This is related to mmap() failing allocations during cache

[Touch-packages] [Bug 1815129] Re: apt segfaults when generating cache file

2019-02-13 Thread Heitor R. Alves de Siqueira
Tested on apt-1.0.1ubuntu2.20 from trusty-proposed. Tried reproducing according to the test case from description, and verified that apt-cache does not crash: ubuntu@apt-stress:~/stress-ng$ dpkg -l | grep apt ii apt 1.0.1ubuntu2.20 (while having stress-ng

[Touch-packages] [Bug 1815129] Re: apt segfaults when generating cache file

2019-02-13 Thread Heitor R. Alves de Siqueira
There are two armhf autopkgtest regressions for apt-1.0.1ubuntu2.20, in tests for apt [0] and autopkgtest [1]. From the autopkgtest pages we can see that these regressions were introduced long before this SRU, so it seems like a long standing issue unrelated to this patch. [0]

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-04-08 Thread Heitor R. Alves de Siqueira
** Bug watch added: Debian Bug tracker #926657 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926657 ** Also affects: openldap (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926657 Importance: Unknown Status: Unknown ** Patch added: "lp1821343-disco.debdiff"

[Touch-packages] [Bug 1821343] Re: slapd process failure is not detected by systemd

2019-04-09 Thread Heitor R. Alves de Siqueira
@slashd I don't think we need anything special for systemd in the debian/{control,rules} files, since we're not shipping full systemd support with this. The slapd service is still handled by systemd-sysv- generator(8), so there's no service units that we need to include or activate in dh_systemd