Custom Query (894 matches)
Results (79 - 81 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#1031 | solj | https://www.google.com/accounts/o8/id?id=AItOawkfar6gGD3PuUixQdEZQyRr2mpowLW1A70 | fixed | POSIX client tool for device creation doesn't set mode correctly |
Description |
It appears that when assigning a mode attribute to a Path of type device the permission created on disk is not as expected. <Path type='device' name='/var/lib/bind/dev/null' owner='root' group='root' dev_type='char' major='1' minor='3' mode='0777'/> Results in a file with permissions 0755. The calcPerms method in Client/Tools?/POSIX.py returns a value sent to os.mknod. It is not clear whether the problem is with os.mknod and the permissions mask or the value generated by calcPerms. docs for os.mknod: "mode specifies both the permissions to use and the type of node to be created, being combined (bitwise OR) with one of stat.S_IFREG, stat.S_IFCHR, stat.S_IFBLK, and stat.S_IFIFO (those constants are available in stat)" Could this either be fixed to work as expected or the correct mode setting be documented? mode is not listed at http://docs.bcfg2.org/server/configurationentries.html?highlight=posix |
|||
#1037 | solj | https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU | fixed | Run testsuite directly from checkout |
Description |
Bcfg2 source layout doesn't allow to run testsuite directly from checkout. Even if you set PYTHONPATH=src/lib this won't work, because lib/ directly contains modules that should be available from Bcfg2 package in order to be found by import statements in Python scripts. $ PYTHONPATH=src/lib nosetests -d testsuite EEE ====================================================================== ERROR: Failure: ImportError (No module named Bcfg2.Client.Frame) ... ImportError: No module named Bcfg2.Server.Core ---------------------------------------------------------------------- Ran 3 tests in 0.295s The solution is to move Bcfg2 source to a subfolder named Bcfg2. |
|||
#1042 | solj | solj | fixed | Traceback in bcfg2-admin perf |
Description |
Appears to be leftover from the python3 migration. Unexpected handler error Traceback (most recent call last): File "/root/bcfg2/Bcfg2/SSLServer.py", line 54, in _marshaled_dispatch response = (response.decode('utf-8'), ) AttributeError: 'dict' object has no attribute 'decode |