Comment 4 for bug 1798055

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 1798055] Re: Cloud init rsyslog module will not start on FreeBSD

I kind of suspect it will work, but before enablilng it by default in
freebsd i'd like to know that it does.

Can you do:
a.) install rsyslog package
b.) add config to /etc/cloud/cloud.cfg.d/rsyslog.cfg with something like:

rsyslog:
   configs:
        - content: "*.* @@192.0.2.1:10514"
          filename: 01-example.conf

c.) run cloud-init single --name=rsyslog --frequency=always

then verify if you have the expected content in
/etc/rsyslog.d/01-example.conf and that rsyslog was restarted.

if it gets restarted and reads those configs, then i'm really happy to
enable it.

On Wed, Oct 17, 2018 at 8:21 AM Carlo Maiorano <email address hidden> wrote:
>
> @Scott,
> I've tried to test the single module but it didn't run because there are no rsyslog in configuration (The configuration is in the archive for the previous submission). I've also attached the dump from cloud-init analyze command.
>
> ** Attachment added: "dumps.tar.gz"
> https://bugs.launchpad.net/cloud-init/+bug/1798055/+attachment/5202190/+files/dumps.tar.gz
>
> --
> You received this bug notification because you are a member of Canonical
> Cloudware, which is subscribed to cloud-init.
> Matching subscriptions: cloud-init bugs
> https://bugs.launchpad.net/bugs/1798055
>
> Title:
> Cloud init rsyslog module will not start on FreeBSD
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-init/+bug/1798055/+subscriptions