Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 894)

Ticket Owner Reporter Resolution Summary
#901 solj https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc worksforme bcfg2-info doesn't (completely) honor -C flag
Description

When giving bcfg2-info the -C flag to use an alternate config file, it still attempts to read /etc/bcfg2.conf and complains if it cannot. For instance, if /etc/bcfg2.conf has permissions that make it unreadable to normal users, those users cannot run bcfg2-info, for instance to test templates. E.g.:

/usr/sbin/bcfg2-info -d -Q /home/stpierre/bcfg2/trunk -C /home/stpierre/bcfg2/trunk/Cfg/etc/bcfg2.conf/bcfg2.conf.H_bcfg.example.com buildfile /etc/bacula/bacula-dir.conf backup.example.com Failed to load configuration settings. No section: 'statistics'

Although /home/stpierre/bcfg2/trunk/Cfg/etc/bcfg2.conf/bcfg2.conf.H_bcfg.example.com was a valid bcfg2.conf (in fact, it was the same file as /etc/bcfg2.conf) and was readable, bcfg2-info still errored out after trying to read /etc/bcfg2.conf. From an 'strace' on the above command:

open("/etc/bcfg2.conf", O_RDONLY) = -1 EACCES (Permission denied) open("/etc/bcfg2-web.conf", O_RDONLY) = -1 ENOENT (No such file or directory) close(7) = 0 write(2, "Failed to load configuration set"..., 64Failed to load configuration settings. No section: 'statistics' ) = 64

To replicate this issue:

Create a local copy of /etc/bcfg2.conf.

Change permissions on /etc/bcfg2.conf such that you can no longer read it.

Attempt to run bcfg2-info using the -C flag against your local copy of bcfg2.conf.

#926 solj Thomas Ackermann <[email protected]…> fixed Rules - service check on localized systems
Description

chkconfigs output when system is not set to english is not interpreted correctly by the service rules.

for example:

/sbin/chkconfig --list nullmailer

< nullmailer 0:Aus 1:Aus 2:Ein 3:Ein 4:Ein 5:Ein 6:Aus

/sbin/chkconfig --list|grep :on

Found active services:

Verifying packa...

#938 solj m4z <[email protected]…> fixed Packages/YUMng finding strange dependencies
Description

Another Packages-related issue. Example:

chaos:~ # yum deplist python-babel
Finding dependencies: 
package: python-babel.noarch 0.9.5-10.1
  dependency: /usr/bin/python
   provider: python-base.x86_64 2.6.5-2.14
   provider: python-base.i586 2.6.5-2.14
  dependency: python(abi) = 2.6
   provider: python-base.x86_64 2.6.5-2.14
   provider: python-base.i586 2.6.5-2.14
  dependency: python = 2.6
   provider: python.x86_64 2.6.5-2.11
   provider: python.i586 2.6.5-2.11
package: python-babel.noarch 0.9.5-1.3
  dependency: /usr/bin/python
   provider: python-base.x86_64 2.6.5-2.14
   provider: python-base.i586 2.6.5-2.14
  dependency: python(abi) = 2.6
   provider: python-base.x86_64 2.6.5-2.14
   provider: python-base.i586 2.6.5-2.14
  dependency: python = 2.6
   provider: python.x86_64 2.6.5-2.11
   provider: python.i586 2.6.5-2.11

...but the bcfg2-server (1.0.1 + Packages r6044) finds these:

Sep  7 09:19:48 chaos bcfg2-server[12081]: Packages: handling package requirement python-babel
Sep  7 09:19:48 chaos bcfg2-server[12081]: Packages: Package python-babel added requirements
    set(['/usr/bin/python', 'python-setuptools', 'python-devel', 'fdupes'])

And python-devel pulls in more stuff (but these are correct deps).

So basically I end up with these packages, which neither I nor yum want to have on the machine:

Incorrect entries:      5
 Package:fdupes             Package:linux-glibc-devel  Package:python-setuptools
 Package:glibc-devel        Package:python-devel
Note: See TracQuery for help on using queries.