Bug 1147542 - [abrt] trytond: config.py:122:update_etc:IOError: [Errno 13] Permission denied: '/etc/trytond.conf'
Summary: [abrt] trytond: config.py:122:update_etc:IOError: [Errno 13] Permission denie...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: trytond
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bc32b844cf6310070ace4a2bc9c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 13:28 UTC by David Siembab
Modified: 2014-09-30 09:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-30 09:15:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (730 bytes, text/plain)
2014-09-29 13:28 UTC, David Siembab
no flags Details
File: environ (4.75 KB, text/plain)
2014-09-29 13:28 UTC, David Siembab
no flags Details

Description David Siembab 2014-09-29 13:28:54 UTC
Description of problem:
just tried tro run trytond as user

Version-Release number of selected component:
trytond-2.6.2-3.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /bin/trytond
executable:     /bin/trytond
kernel:         3.16.3-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
config.py:122:update_etc:IOError: [Errno 13] Permission denied: '/etc/trytond.conf'

Traceback (most recent call last):
  File "/bin/trytond", line 109, in <module>
    trytond.server.TrytonServer(options).run()
  File "/usr/lib/python2.7/site-packages/trytond/server.py", line 32, in __init__
    CONFIG.update_etc(options['configfile'])
  File "/usr/lib/python2.7/site-packages/trytond/config.py", line 122, in update_etc
    with open(self.configfile) as fp:
IOError: [Errno 13] Permission denied: '/etc/trytond.conf'

Local variables in innermost frame:
prefixdir: '/'
configfile: '/etc/trytond.conf'
parser: <ConfigParser.ConfigParser instance at 0x7f272625dc20>
self: <trytond.config.ConfigManager object at 0x7f2727207ed0>

Comment 1 David Siembab 2014-09-29 13:28:57 UTC
Created attachment 942313 [details]
File: backtrace

Comment 2 David Siembab 2014-09-29 13:28:58 UTC
Created attachment 942314 [details]
File: environ

Comment 3 Dan Horák 2014-09-30 09:15:38 UTC
Tryton is not meant to be started under a regular user, there is a special "tryton" user created for this purpose and used by the service manager.


Note You need to log in before you can comment on or make changes to this bug.