[pkg-bacula-devel] Bug#953030: bacula-sd.postinst fails on systems with protected_regular=2 enabled

Carsten Leonhardt leo at debian.org
Tue Mar 3 16:53:31 GMT 2020


Control: tag -1 pending

Hi,

> bacula-sd.postinst currently uses mktemp, chowns to bacula.bacula, and
> then attempts to write to the temporary file using a shell redirection.
>
> If a system has /proc/sys/fs/protected_regular set to 2, then this
> fails[1].

thanks for the patch. I've commited a change to our git repository based
on it. For consistency I changed the order in similar postinst files
too.

Regards,

Carsten



More information about the pkg-bacula-devel mailing list