[Pkg-openldap-devel] Bug#887099: Bug#887099: slapd: Cannot execute temporary slapd.conf file in NOEXEC /tmp directory

Ryan Tandy ryan at nardis.ca
Sun Jan 14 06:03:19 UTC 2018


Control: reassign -1 debconf 1.5.61
Control: forcemerge 566247 -1

Hi Peter,

Thank you for the report.

On Sat, Jan 13, 2018 at 08:05:21PM +0000, Peter Wolfe wrote:
>Performed a basic install of openldap on Debian Stretch:
>
>    apt-get install openldap
>
>And noticed an abberation of Debian installer-specific where it tried
>to execute a Perl script in my /tmp directory that has been mounted
>with NOEXEC mount option resulting in an error as shown:

I'm not sure what you mean by "Debian installer-specific" here. Are you 
booted into the installer environment and running apt-get in the target 
chroot, or something like that? I don't have a d-i handy but I don't 
remember it mounting /tmp noexec...

>    Preconfiguring packages ...
>    Can't exec "/tmp/slapd.config.HQ22eT": Permission denied at /usr/share/perl/5.24/IPC/Open3.pm line 178.
>    open2: exec of /tmp/slapd.config.HQ22eT configure  failed: Permission denied at /usr/share/perl5/Debconf/ConfModule.pm line 59.

This appears to be a generic issue in debconf, so I'm reassigning it to 
debconf and merging it with the existing bugs tracking the same issue.

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list