Package: dmarcts-report-parser
Version: 1.0+git20230715.9dd92cf-3
Severity: normal

Dear Maintainer,

As packaged, /etc/cron.d/dmarcts-report-parser is configured to execute
/etc/cron.d/dmarcts-report-parser as user _dmarcts

The last line of /usr/libexec/dmarcts-report-parser.cronjob attempts to
use the "su" command to change to the configured DMARCTS_USER (defaults
to _dmarcts). Since that script is being run as non-root, this fails
after asking for a password, with the message:

        Password: su: Authentication failure

Since DMARCTS_USER is configurable, it appears the correct fix is to
change /etc/cron.d/dmarcts-report-parser to run the script as root.

The alternative fix is to remove the configurability of DMARCTS_USER and
change dmarcts-report-parser.cronjob not to attempt the su command.


-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.11-x86_64-linode177 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dmarcts-report-parser depends on:
ii  adduser                           3.152
ii  libclass-dbi-mysql-perl           1.00-5
ii  libfile-mimeinfo-perl             0.35-1
ii  libio-socket-inet6-perl           2.73-1
ii  libio-socket-ip-perl              0.43-1
ii  libmail-imapclient-perl           3.43-1
ii  libmail-mbox-messageparser-perl   1.5111-3
ii  libmime-tools-perl                5.515-1
ii  libperlio-gzip-perl               0.20-1+b4
ii  libxml-simple-perl                2.25-2
ii  perl-base [libio-socket-ip-perl]  5.40.1-6+deb13u1
ii  unzip                             6.0-29+deb13u1

dmarcts-report-parser recommends no packages.

dmarcts-report-parser suggests no packages.

-- Configuration Files:
/etc/default/dmarcts-report-parser [Errno 13] Permission denied: 
'/etc/default/dmarcts-report-parser'
/etc/dmarcts-report-parser.conf changed [not included]

-- no debconf information

Reply via email to