From d1f5aedd76df437a08f3283fa00bc8a9dab7fa2b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 4 Jul 2014 14:46:20 +0200 Subject: "Fedora Support", step 1 -> Several changes: 1) Make sure /bin /sbin /lib and /lib64 are ALWAYS symlinks to /usr/XXX, no matter what the current distribution does. 2) Make sure nobody and nogroup exist. 3) Fix various modules making assumptions that are not true on every distro. 4) Add symlinks to kdm module since fedora is looking for kdmrc in yet another spot. 5) Add detection of fedora, support its package manager What still breaks: dnbd3 Other distros might not work now, they need adaption to changed logic in some modules. --- remote/modules/rsyslogd/module.conf | 3 +++ remote/modules/rsyslogd/module.conf.debian | 3 --- remote/modules/rsyslogd/module.conf.fedora | 3 +++ remote/modules/rsyslogd/module.conf.opensuse | 3 --- remote/modules/rsyslogd/module.conf.ubuntu | 4 +--- 5 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 remote/modules/rsyslogd/module.conf.fedora (limited to 'remote/modules/rsyslogd') diff --git a/remote/modules/rsyslogd/module.conf b/remote/modules/rsyslogd/module.conf index ba36aadf..207f0a1d 100644 --- a/remote/modules/rsyslogd/module.conf +++ b/remote/modules/rsyslogd/module.conf @@ -4,3 +4,6 @@ REQUIRED_BINARIES=" REQUIRED_FILES=" /etc/rsyslog.conf " +REQUIRED_DIRECTORIES=" + /usr/$LIB64/rsyslog +" diff --git a/remote/modules/rsyslogd/module.conf.debian b/remote/modules/rsyslogd/module.conf.debian index 79aba761..6f3cb891 100644 --- a/remote/modules/rsyslogd/module.conf.debian +++ b/remote/modules/rsyslogd/module.conf.debian @@ -1,6 +1,3 @@ REQUIRED_CONTENT_PACKAGES=" rsyslog " -REQUIRED_DIRECTORIES=" - /usr/lib/rsyslog -" diff --git a/remote/modules/rsyslogd/module.conf.fedora b/remote/modules/rsyslogd/module.conf.fedora new file mode 100644 index 00000000..6f3cb891 --- /dev/null +++ b/remote/modules/rsyslogd/module.conf.fedora @@ -0,0 +1,3 @@ +REQUIRED_CONTENT_PACKAGES=" + rsyslog +" diff --git a/remote/modules/rsyslogd/module.conf.opensuse b/remote/modules/rsyslogd/module.conf.opensuse index 51ce0e47..6d7a3c99 100644 --- a/remote/modules/rsyslogd/module.conf.opensuse +++ b/remote/modules/rsyslogd/module.conf.opensuse @@ -4,6 +4,3 @@ REQUIRED_CONTENT_PACKAGES=" REQUIRED_BINARIES+=" rsyslog-service-prepare " -REQUIRED_DIRECTORIES=" - /usr/$LIB64/rsyslog -" diff --git a/remote/modules/rsyslogd/module.conf.ubuntu b/remote/modules/rsyslogd/module.conf.ubuntu index 79aba761..ac8df362 100644 --- a/remote/modules/rsyslogd/module.conf.ubuntu +++ b/remote/modules/rsyslogd/module.conf.ubuntu @@ -1,6 +1,4 @@ REQUIRED_CONTENT_PACKAGES=" rsyslog " -REQUIRED_DIRECTORIES=" - /usr/lib/rsyslog -" + -- cgit v1.2.3-55-g7522