Comments (4)
String expansions are not global. The manual page for the config file lists which expansions are supported under each option. The user
option does not support any string expansions.
from supervisor.
So, when you set user
option to incorrect value process silently starts as root? Isn't it security flaw? I belive supervisor should display warning at least.
from supervisor.
It does (in the log, anyway.. kinda hard to "display" something when it's typically running as a daemon).
from supervisor.
So, when you set user option to incorrect value process silently starts as root?
Prior to 3.0b2, a warning (supervisor: error trying to setuid to...
) would be written to the child's stderr log but the process would still be started. This message could be missed so we changed the behavior in 3.0b2.
There were two relevant changes in that release:
- 448b9e6 Show an error when parsing the config file if user does not exist
- c5934ce Do not spawn child process if setuid fails
Now, supervisord
will refuse to start the process.
from supervisor.
Related Issues (20)
- supervisor run program with localhost instead IP
- CRIT uncaptured python exception, closing channel <POutputDispatcher at 140511720744048 for <Subprocess at 140511720434992 with name vxsnmpcdnselfcheck in state RUNNING> HOT 1
- asynchat removed in python 3.12 HOT 1
- BAD_NAME when calling startProcess HOT 3
- Error: Cannot open an HTTP server: socket.error reported errno.EINVAL (22) HOT 2
- The supervisorctl stop command is invalid
- Error when starting supervisor with environment variables in Docker HOT 1
- Ability to reopen log(s) HOT 2
- Supervisor - ERROR (MainThread) HOT 1
- Bug: supervisorctl thorws error when doing tail on logs with control characters in them. HOT 1
- supervisord process cpu use very high HOT 2
- Request to enable HTTPS for supervisord.org HOT 3
- supervisorctl merge stdout+stderr to save time HOT 2
- Tab completion for task names HOT 1
- [doc] missing "getting help/forum/community" section HOT 1
- Socket File not created when starting supervisor HOT 2
- "Unable to Connect Processes" HOT 1
- 4.2.1 Update username and password not work HOT 1
- Supervisor doesn't work after installing from codebase (version 4.3) HOT 1
- error: <class 'xml.parsers.expat.ExpatError'>, unclosed token: line 130, column 0: file: /usr/lib/python3.10/xmlrpc/client.py line: 460
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supervisor.