Re: Jail error ln operation not permitted
On Tuesday 28 June 2005 19:24, Casper wrote: Hi, I have setup 2 jails in FreeBSD 5.4 when they start, abouth have some error for /dev/log... like that: #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc Loading configuration files. mail Setting hostname: mail. ln: /dev/log: Operation not permitted Starting syslogd. ... Abouth jails seems to work ok, but I can`t debug them from logs or somewhere, where is problem... what is that? tnx, Casper Try creating the link from outside the jail. Regards, bh pgp713TqHJUaJ.pgp Description: PGP signature
Re: Jail error ln operation not permitted
I don`t know what this script doing... :) I don`t know what to try reproduce by myself... ln /dev/log ? Casper Bernhard Fischer wrote: On Tuesday 28 June 2005 19:24, Casper wrote: Hi, I have setup 2 jails in FreeBSD 5.4 when they start, abouth have some error for /dev/log... like that: #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc Loading configuration files. mail Setting hostname: mail. ln: /dev/log: Operation not permitted Starting syslogd. ... Abouth jails seems to work ok, but I can`t debug them from logs or somewhere, where is problem... what is that? tnx, Casper Try creating the link from outside the jail. Regards, bh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jail error ln operation not permitted
On Jun 29, 2005, at 7:25 AM, Casper wrote: I don`t know what this script doing... :) I don`t know what to try reproduce by myself... ln /dev/log ? I was wondering myself so I did a little research. It appears that the syslogger does a link (ln -s) from /var/run/log to /dev/log and that inside a jail you cannot do this. However, you can set it in the base system's version of the jail file system. I don't know if it stays around after reboots or what and what the effect is -- probably m akes jail messages go into its own log file but I have not done more than make the link and try to google (without a lot of success) on the issue Chad Casper Bernhard Fischer wrote: On Tuesday 28 June 2005 19:24, Casper wrote: Hi, I have setup 2 jails in FreeBSD 5.4 when they start, abouth have some error for /dev/log... like that: #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc Loading configuration files. mail Setting hostname: mail. ln: /dev/log: Operation not permitted Starting syslogd. ... Abouth jails seems to work ok, but I can`t debug them from logs or somewhere, where is problem... what is that? tnx, Casper Try creating the link from outside the jail. Regards, bh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Jail error ln operation not permitted
On Jun 29, 2005, at 1:53 PM, Chad Leigh -- Shire.Net LLC wrote: It appears that the syslogger does a link (ln -s) from /var/run/log to /dev/log and that inside a jail you cannot do this. However, you can set it in the base system's version of the jail file system. I don't know if it stays around after reboots or what and what the effect is -- probably m akes jail messages go into its own log file but I have not done more than make the link and try to google (without a lot of success) on the issue syslogd -l can set up additional logging sockets: -l Specify a location where syslogd should place an additional log socket. The primary use for this is to place additional log sockets in /var/run/log of various chroot filespaces. File per- missions for socket can be specified in octal representation before socket name, delimited with a colon. Path to socket loca- tion must be absolute. If you are using jails, I would gather that you normally would be running a separate syslogd within that jail, but this approach provides another option... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Jail error ln operation not permitted
Hi, I have setup 2 jails in FreeBSD 5.4 when they start, abouth have some error for /dev/log... like that: #jail /jail/mail/ mail 127.0.0.2 /bin/sh /etc/rc Loading configuration files. mail Setting hostname: mail. ln: /dev/log: Operation not permitted Starting syslogd. ... Abouth jails seems to work ok, but I can`t debug them from logs or somewhere, where is problem... what is that? tnx, Casper ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]