You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Since #34 this works and it is possible to run the container as UID 1000.
Problem is, 1000 is the only possible UID as setting any other unprivileged UID results in permission denied to supervisord log file:
Traceback (most recent call last):
File "/usr/bin/supervisord", line 9, in <module>
load_entry_point('supervisor==4.2.2', 'console_scripts', 'supervisord')()
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/supervisord.py", line 359, in main
go(options)
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/supervisord.py", line 369, in go
d.main()
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/supervisord.py", line 72, in main
self.options.make_logger()
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/options.py", line 1500, in make_logger
backups=self.logfile_backups,
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/loggers.py", line 419, in handle_file
handler = RotatingFileHandler(filename, 'a', maxbytes, backups)
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/loggers.py", line 213, in __init__
FileHandler.__init__(self, filename, mode)
File "/usr/lib/python2.7/site-packages/supervisor-4.2.2-py2.7.egg/supervisor/loggers.py", line 160, in __init__
self.stream = open(filename, mode)
IOError: [Errno 13] Permission denied: '/usr/share/supervisor/performance_analyzer/supervisord.log'
To Reproduce
Steps to reproduce the behavior:
Run as UID 1212
See error
Container terminated
Expected behavior
Container should run fine, as long as data directories are writable by the selected UID.
Logs should be output to stdout/stderr or data directories as /usr/share/ commonly contains mostly "static" files.
Configuration (please complete the following information):
ODFE/Kibana version: 1.13.2
Distribution: Helm
Host Machine: Ubuntu 20.04.1 LTS
The text was updated successfully, but these errors were encountered:
Describe the bug
Helm makes it possible to define security context like this:
Since #34 this works and it is possible to run the container as UID 1000.
Problem is, 1000 is the only possible UID as setting any other unprivileged UID results in permission denied to supervisord log file:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Container should run fine, as long as data directories are writable by the selected UID.
Logs should be output to stdout/stderr or data directories as
/usr/share/
commonly contains mostly "static" files.Configuration (please complete the following information):
The text was updated successfully, but these errors were encountered: