|Subject:||Re: [Jailkit-dev] Issue with jk_update - 2.21|
|Date:||Fri, 10 Jan 2020 08:27:16 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2|
Got an issue with jk_update using the latest version 2.21jk_update -j /home/students -dTraceback (most recent call last):File "/sbin/jk_update", line 290, in <module>main()File "/sbin/jk_update", line 272, in mainif (not config.has_key('hardlink')):AttributeError: 'dict' object has no attribute 'has_key'
Any hint what to do next with this? Currently working in Centos 8, using python3.
whoops that is python2 code that has not been migrated.
it is fixed now in CVS, see
I will do a new release soon.
Initial got an issue but this is resolved by deleting one of the line/comment in includesections
jk_init -v -j /home/students basicshellTraceback (most recent call last):File "/sbin/jk_init", line 261, in <module>main()File "/sbin/jk_init", line 258, in mainactivateConfig(config, jail, args)File "/sbin/jk_init", line 164, in activateConfigcfg.read([config['file']])File "/usr/lib64/python3.6/configparser.py", line 697, in readself._read(fp, filename)File "/usr/lib64/python3.6/configparser.py", line 1092, in _readfpname, lineno)configparser.DuplicateOptionError: While reading from '/etc/jailkit/jk_init.ini' [line 118]: option 'includesections' in section 'openvpn' already exists
Solution:[openvpn]comment = jail for the openvpn daemonpaths = /usr/sbin/openvpnusers = root,nobodygroups = root,nogroup#includesections = netbasicsdevices = /dev/urandom, /dev/random, /dev/net/tunincludesections = netbasics, uidbasicsneed_logsocket = 1
thanks for reporting, this one was fixed in CVS already, but it
was so minor that I did not make a new release.
-- Bluefish website http://bluefish.openoffice.nl/ Blog http://oli4444.wordpress.com/
|[Prev in Thread]||Current Thread||[Next in Thread]|