Coder Social home page Coder Social logo

cfengine-debian's People

Contributors

aradici avatar bahamat avatar basvandervlies avatar zusantunfimmeri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cfengine-debian's Issues

FAIL: generic_agent_test

Starting test: generic_agent_test.c

test_load_masterfiles: Starting test
FAIL: generic_agent_test

I would like to assign this issue to Ted. I will mail the logs to the Debian-team.

Directory relocations

Legacy debian cfengine packages have $(sys.workdir)/inputs symlinked to /etc/cfengine.

This needs to changed so that /etc/cfengine is a symlink to $(sys.workdir)/masterfiles Instead.

Todo:

  • script to perform migration
  • debconf dialogs for user

Man pages missing

The man pages in community edition are in /var/cfengine/share/man/man8/.

I don't know yet if they're in the package and not in the right place, or missing entirely. I wanted to get this in while it was on my mind.

Lintian messages

This issue will track overall progress on Lintian messages.

Current output:

N: Processing binary package cfengine3 (version 3.5.2-1+nmu1, arch amd64) ...
W: cfengine3: package-name-doesnt-match-sonames libpromises3
I: cfengine3: spelling-error-in-binary usr/lib/libpromises.so.3.0.5 deamon daemon
I: cfengine3: spelling-error-in-binary usr/lib/libpromises.so.3.0.5 Commerical Commercial
I: cfengine3: spelling-error-in-binary usr/lib/libpromises.so.3.0.5 avaiable available
W: cfengine3: hardening-no-relro usr/lib/libpromises.so.3.0.5
W: cfengine3: hardening-no-fortify-functions usr/lib/libpromises.so.3.0.5
W: cfengine3: hardening-no-relro usr/sbin/cf-agent
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-agent
W: cfengine3: hardening-no-relro usr/sbin/cf-execd
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-execd
W: cfengine3: hardening-no-relro usr/sbin/cf-key
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-key
W: cfengine3: hardening-no-relro usr/sbin/cf-monitord
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-monitord
W: cfengine3: hardening-no-relro usr/sbin/cf-promises
I: cfengine3: spelling-error-in-binary usr/sbin/cf-runagent overriden overridden
W: cfengine3: hardening-no-relro usr/sbin/cf-runagent
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-runagent
W: cfengine3: hardening-no-relro usr/sbin/cf-serverd
W: cfengine3: hardening-no-fortify-functions usr/sbin/cf-serverd
W: cfengine3: hardening-no-relro usr/sbin/rpmvercmp
W: cfengine3: binary-without-manpage usr/sbin/cf-agent
W: cfengine3: binary-without-manpage usr/sbin/cf-execd
W: cfengine3: binary-without-manpage usr/sbin/cf-key
W: cfengine3: binary-without-manpage usr/sbin/cf-monitord
W: cfengine3: binary-without-manpage usr/sbin/cf-promises
W: cfengine3: binary-without-manpage usr/sbin/cf-runagent
W: cfengine3: binary-without-manpage usr/sbin/cf-serverd
W: cfengine3: binary-without-manpage usr/sbin/rpmvercmp
W: cfengine3: non-dev-pkg-with-shlib-symlink usr/lib/libpromises.so.3.0.5 usr/lib/libpromises.so
I: cfengine3: no-symbols-control-file usr/lib/libpromises.so.3.0.5
N: 1 tag overridden (1 info)

libxml2-dev

debian/control
libxml2.dev should be libxml2-dev.
I will issue a pull request with a patch.

Systemd init script

As it was decided by both Debian and Ubuntu to switch to Systemd init, we need a systemd-compliant init script.

cf-* files doesn't available in /var/lib/cfengine3/bin

I have issue with cf-* files, they doesn't exists in /var/lib/cfengine3/bin:

# cf-agent -B server.local
2013-10-15T05:04:57-0400    error: cf-promises needs to be installed in /var/lib/cfengine3/bin for pre-validation of full configuration
2013-10-15T05:04:58-0400   notice: R: This autonomous node assumes the role of voluntary client

Adjust acceptance tests to print to stdout

Please contact me on my email address.

I am preparing another Debian-team meeting and I want to include you

Martin

When using pbuilder for package build, as is the case with both the Debian and Ubuntu archives, a failed acceptance test produces just an notion that '1' test failed, without any hint as how many of the acceptance tests failed, with what error message or whatsoever.

A regular action of pbuilder, one that I could not find a way around is cleaning up the environment after build, no matter if it was successful or not. All the logs with information on what actually went wrong goes to hell an we have no benefit of using a CI environment to gather the build outputs.

Build dependencies

We are dealing with build dependencies. We should have a clear picture of the dependencies that exist.

Default policies don't work out of the box.

The following cases should work:

  • cfengine3 bootstrap to itself
  • cfengine3 bootstrap to cfengine3
  • cfengine3 bootstrap to cfengine-community on Debian
  • cfengine3 bootstrap to cfengine-community on RHEL/CentOS
  • cfengine-community on Debian bootstrap to cfengine3
  • cfengine-community on RHEL/CentOS bootstrap to cfengine3

Compile options

The current setup contains faulty and missing compile options.

Incorrect perms to ppkeys

Hello, I have issue with incorrect perms on ppkeys:

Unpacking cfengine3 (from .../cfengine3_3.5.2-1~my+1_amd64.deb) ...
Setting up cfengine3 (3.5.2-1~my+1) ...
2013-10-15T05:17:11-0400    error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/lib/cfengine3/ppkeys (mode 755) was not private!

dpkg: error processing cfengine3 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 cfengine3
E: Sub-process /usr/bin/dpkg returned an error code (1)

tests/acceptance/00_basics/01_compiler/800.cf FAIL

This tests $(sys.flavor).

Jessie output:

$ sudo cf-agent -K -f ./tests/acceptance/00_basics/01_compiler/800.cf -D AUTO,DEBUG     
2013-10-13T01:30:10-0700   notice: R: Compared debian_jessie to debian_jessie/sid
2013-10-13T01:30:10-0700   notice: R: ./tests/acceptance/00_basics/01_compiler/800.cf FAIL

wheezy output:

$ sudo cf-agent -K -f ./tests/acceptance/00_basics/01_compiler/800.cf -D AUTO,DEBUG     
2013-10-13T01:33:02-0700   notice: R: Compared debian_7 to debian_7
2013-10-13T01:33:02-0700   notice: R: ./tests/acceptance/00_basics/01_compiler/800.cf Pass

This test may resolve itself when /etc/issue is updated to a version number for jessie release. However, with the current acceptance test it can never pass on testing or unstable. This needs to pass on testing/unstable otherwise it will always fail Debian builds on the official build system.

Fix virtual interface detection

This one affects me directly, so I want to make sure it gets included.

The problem is that cfengine ignores some interfaces if it detects that they are virtual. I have a number of virtual machines in which all interfaces are detected as virtual and get ignored.

The upstream bug is https://cfengine.com/dev/issues/3420

There's a patch included in the bug that should address the issue, but may need to be ported in.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.