Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
postfix-bdb.19957
postfix-avoid-infinit-loop-if-no-permission.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File postfix-avoid-infinit-loop-if-no-permission.patch of Package postfix-bdb.19957
--- src/global/mail_queue.c-orig 2019-04-01 14:37:54.136169772 +0200 +++ src/global/mail_queue.c 2019-04-01 14:42:35.191382999 +0200 @@ -363,6 +363,14 @@ break; if (errno == EEXIST || errno == EISDIR) continue; + /* + * Avoid getting into an infinite loop when we don't have permission to + * read temp_path + */ + if (errno == EACCES) { + msg_fatal("%s: create file %s: no permission", myname, STR(temp_path)); + break; + } msg_warn("%s: create file %s: %m", myname, STR(temp_path)); sleep(10); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor