search for: s_sys

Displaying 12 results from an estimated 12 matches for "s_sys".

2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25? Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey'' at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node ext3.fr.xxx.com Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Not using cache o...
2016 Jul 14
0
[PATCH v2 2/7] New API: setfiles - SELinux relabel parts of the filesystem.
..._setfiles, setfiles); + +#define MAX_ARGS 64 + +/* Takes optional arguments, consult optargs_bitmask. */ +int +do_setfiles (const char *specfile, const char *path, + int force) +{ + const char *argv[MAX_ARGS]; + CLEANUP_FREE char *s_dev = NULL, *s_proc = NULL, *s_selinux = NULL, + *s_sys = NULL, *s_specfile = NULL, *s_path = NULL; + CLEANUP_FREE char *err = NULL; + size_t i = 0; + + s_dev = sysroot_path ("/dev"); + if (!s_dev) { + malloc_error: + reply_with_perror ("malloc"); + return -1; + } + s_proc = sysroot_path ("/proc"); if (!s...
2012 Mar 05
5
cron job not running
...on)=131', processed='destination(d_mlal)=0', processed='destination(d_kern)=0', processed='destination(d_mesg)=200', processed='destination(d_cons)=0', processed='destination(d_spol)=0', processed='destination(d_mail)=15807', processed='source(s_sys)=16141' I've tried bouncing the crond service but even if I set the cron job to run every minute the backups don't run. I was hoping someone out there might have some advice n how to solve this problem. thanks -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F1861...
2010 Apr 12
1
How to log separate files or directories for centralizing SysLog server ?
Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for
2010 Jul 05
1
Autoloading Capitalized Classes
Why doesn''t puppet autoload modules with capitals in the class names? Jul 5 09:55:54 s_sys@test01.sjc.xxx.com puppetd[6527]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class repo::centOSBase in namespaces repo::common at /etc/puppet/modules/repo/manifests/common.pp:8 on node test01.sjc.xxx.com Change ''centOSBase'' to ''cen...
2010 Jun 14
2
stack level too deep
I''m getting this on my client: Jun 14 15:21:26 s_sys@app09.fr.xxx.com puppetd[24751]: Could not retrieve catalog: stack level too deep on node app09.fr.twofish.com Jun 14 15:21:26 s_sys@app09.fr.xxx.com puppetd[24751]: Not using cache on failed catalog Since running puppetd in debug gives no useful info: info: Starting handler for Runner info: Star...
2011 Mar 24
4
Remote-logging nginx? (or other non-syslog-enabled stuff)
I'm looking for suggestions as to a good general method of remote-logging services such as nginx or anything else which doesn't support syslog natively. I'm aware that there's an nginx patch, and we're evaluating this. It may be the way we fly. However there are other tools which may not have a patch for which remote logging would be useful. If there's a general soution
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
...39;' { class { amodule::afunc: version => "1.0" } } /etc/puppet/modules/amodule/manifests/afunc.pp: class amodule::afunc ( $version ) { file { "/tmp/foo": ensure => directory; } } This causes the following error to be displayed on the client: Jul 30 03:48:45 s_sys@name01.pax.livegamer.com puppet-agent[15475]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at ''amodule::afunc''; expected ''}'' at /etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp:9...
2016 Jul 14
10
[PATCH v2 0/7] Fix SELinux
v1 -> v2: - Add simple test of the setfiles API. - Use SELinux_relabel module in virt-v2v (instead of touch /.autorelabel). - Small fixes. Rich.
2017 Mar 20
2
[PATCH] daemon: selinux: Add setfiles -m option to suppress extra excludes (RHBZ#1433577).
...s, consult optargs_bitmask. */ int do_selinux_relabel (const char *specfile, const char *path, @@ -83,6 +99,13 @@ do_selinux_relabel (const char *specfile, const char *path, ADD_ARG (argv, i, "-e"); ADD_ARG (argv, i, s_selinux); ADD_ARG (argv, i, "-e"); ADD_ARG (argv, i, s_sys); + /* You have to use the -m option (where available) otherwise + * setfiles puts all the mountpoints on the excludes list for no + * useful reason (RHBZ#1433577). + */ + if (setfiles_has_m_option ()) + ADD_ARG (argv, i, "-m"); + /* Relabelling in a chroot. */ if (STRN...
2016 Jul 13
6
[PATCH 0/5] Fix SELinux
We can use the setfiles(8) command to relabel the guest filesystem, even though we don't have a policy loaded nor SELinux enabled in the appliance kernel. This also deprecates or removes the old and broken SELinux support. This patch isn't quite complete - I would like to add some tests to the new API. I'm posting here to garner early feedback. Rich.
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this: class foo::foobar ($version) { } which is called like this: class facility::sanjose inherits facility::common { class { foo::foobar: version => "1.3.13" } } puppet complains with this on the client: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find parent resource type ''facility::sanjose'' of type hostclass in