Projects
Kolab:3.4
pykolab
0003-Actually-fix-the-socket-file.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Actually-fix-the-socket-file.patch of Package pykolab (Revision 115)
Currently displaying revision
115
,
Show latest
From 69a6edbf8cc7dd48225a9026ccd23ca16144b178 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Fri, 12 Sep 2014 01:10:55 +0200 Subject: [PATCH 3/3] Actually fix the socket file --- saslauthd/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py index 6590747..1ae09dd 100644 --- a/saslauthd/__init__.py +++ b/saslauthd/__init__.py @@ -170,13 +170,13 @@ class SASLAuthDaemon(object): # TODO: The saslauthd socket path could be a setting. try: - os.remove(socketfile) + os.remove(conf.socketfile) except: # TODO: Do the "could not remove, could not start" dance pass - s.bind(socketfile) - os.chmod(socketfile, 0777) + s.bind(conf.socketfile) + os.chmod(conf.socketfile, 0777) s.listen(5) @@ -271,7 +271,7 @@ class SASLAuthDaemon(object): def _ensure_socket_dir(self): utils.ensure_directory( - os.path.dirname(socketfile), + os.path.dirname(conf.socketfile), conf.process_username, conf.process_groupname ) -- 1.9.3
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.