Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
rubygem-passenger.1537
passenger-4.0.53_fix-default-temp-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File passenger-4.0.53_fix-default-temp-dir.patch of Package rubygem-passenger.1537
Index: ext/common/Utils.cpp =================================================================== --- ext/common/Utils.cpp.orig +++ ext/common/Utils.cpp @@ -637,7 +637,7 @@ const char * getSystemTempDir() { const char *temp_dir = getenv("TMPDIR"); if (temp_dir == NULL || *temp_dir == '\0') { - temp_dir = "/tmp"; + temp_dir = "/var/run/passenger"; } return temp_dir; } Index: lib/phusion_passenger/admin_tools.rb =================================================================== --- lib/phusion_passenger/admin_tools.rb.orig +++ lib/phusion_passenger/admin_tools.rb @@ -30,7 +30,7 @@ module PhusionPassenger return ENV[name] end end - return "/tmp" + return "/var/run/passenger" end def self.process_is_alive?(pid) Index: lib/phusion_passenger/admin_tools/instance_registry.rb =================================================================== --- lib/phusion_passenger/admin_tools/instance_registry.rb.orig +++ lib/phusion_passenger/admin_tools/instance_registry.rb @@ -93,7 +93,7 @@ module PhusionPassenger # # The RPM packages configure Apache and Nginx to use /var/run/passenger-instreg # as the instance registry dir. See https://github.com/phusion/passenger/issues/1475 - [string_env("TMPDIR"), "/tmp", "/var/run/passenger-instreg"].compact + [string_env("TMPDIR"), "/var/run/passenger", "/var/run/passenger-instreg"].compact end def string_env(name)
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