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!
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!
FS#22745 - [exim] replace hardcoded UID by variable run-time-user-lookup
Attached to Project:
Community Packages
Opened by Moritz Wilhelmy (wzff) - Friday, 04 February 2011, 04:01 GMT
Last edited by Angel Velasquez (angvp) - Saturday, 07 May 2011, 19:18 GMT
Opened by Moritz Wilhelmy (wzff) - Friday, 04 February 2011, 04:01 GMT
Last edited by Angel Velasquez (angvp) - Saturday, 07 May 2011, 19:18 GMT
|
DetailsThe UID for exim is currently looked up during compile time and then hardcoded into the exim binary. This is ugly, because an exim user needs to exist on the system during compile time (it is created in build()), and the sysadmin can't use another UID to run exim during run-time.
According to src/EDITME, this can be circumvented by using EXIM_USER=ref:exim instead of EXIM_USER=exim in Local/Makefile, which would defer the lookup for the details of the exim user to compile time. This would effectively eliminate the build-time dependency for sudo, the manual check for the user in the PKGBUILD, the addition of a temporary user, which is removed at the end (seriously?!) and the UID being hardcoded to 79. |
This task depends upon
Closed by Angel Velasquez (angvp)
Saturday, 07 May 2011, 19:18 GMT
Reason for closing: Implemented
Additional comments about closing: In 4.75-1 and superior
Saturday, 07 May 2011, 19:18 GMT
Reason for closing: Implemented
Additional comments about closing: In 4.75-1 and superior
Comment by Moritz Wilhelmy (wzff) -
Sunday, 06 March 2011, 14:22 GMT
"which would defer the lookup for the details of the exim user to compile time." <- I meant run time, of course.