Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49558 - [opensmtpd] Manual change of permissions required

Attached to Project: Community Packages
Opened by Élie Bouttier (djanos) - Friday, 03 June 2016, 16:24 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 25 June 2016, 11:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There are permissions changes between version 5.7.3p2-3 and 5.9.2p1-1 of opensmtpd leading to smtpd service refusing to start until correct permissions are set.

To solve the issue, you have to:

chown -R root:smtpq /var/spool/smtpd/offline
chmod -R 770 /var/spool/smtpd/offline
chmod 700 /var/spool/smtpd/purge

This probably should be included in post-install hook or similar, no ?


Steps to reproduce:

Install opensmtpd version 5.7.3p2-3 (I do not know the exact version where the changes occured).
Ensure it start (correct old permissions).
Upgrade to 5.9.2p1-1.
Now opensmtpd refuse to start.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Saturday, 25 June 2016, 11:17 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 03 June 2016, 17:18 GMT
These are files created by the program at runtime. The package most definitely shouldn't be changing permissions/ownership of them.
Comment by Élie Bouttier (djanos) - Friday, 03 June 2016, 17:23 GMT
Ok, so I suppose it is an opensmtpd issue, which should have be able to handle this permission change it self.
Sorry for the noise!
(May be the package can print some information about these change to the user during the installation ?)

Loading...