is rsyslog in the chroot, or is mysql in the chroot?

if rsyslog is in the chroot, then it needs the mysql libraries available to it (which should be specified by your package dependencies)

but things working for some users and not for other users doesn't make sense, rsyslog doesn't know what a user is.

David Lang

On Tue, 26 Jul 2016, lai wrote:

Date: Tue, 26 Jul 2016 15:19:07 -0600
From: lai <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: Re: [rsyslog] ***SPAM*** Writing rsyslog message to MySQL in
    Changeroot Environment

Ah...still stuck...

So I am certain that the issue has to do with the chroot setting as
rsyslog is not able to log event to MySQL. I know to write to a log file
in a chroot environment I would need to setup the /home/user/dev/log in
the chroot environment. I guess my question is what rsyslogd needs in the
chroot environment for the ommysql module to work?

I really, really would appreciate any info that you have and your help!
Thx so much!

Tim

On Mon, July 25, 2016 2:42 pm, lai wrote:
Hello:


I had setup rsyslog message writing to MySQL working; however, it is not
writing for some users in the changeroot environment. My guess would be it
 has to do with the user's access permission.

So does anyone have any info on user access permission settings when
using the ommysql module? The user in question has a nologin and a limited
dir access permissions (/home/user is owned by root and it owns
/home/user/uploads dir).


Thanks so much for your help!


Tim


_______________________________________________
rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.




_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to