Custom Query (894 matches)


Show under each result:

Results (79 - 81 of 894)

Ticket Owner Reporter Resolution Summary
#1031 solj fixed POSIX client tool for device creation doesn't set mode correctly

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?/ 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

#1037 solj fixed Run testsuite directly from checkout

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
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

Appears to be leftover from the python3 migration.

Unexpected handler error
Traceback (most recent call last):
  File "/root/bcfg2/Bcfg2/", line 54, in _marshaled_dispatch
    response = (response.decode('utf-8'), )
AttributeError: 'dict' object has no attribute 'decode
Note: See TracQuery for help on using queries.