Jail FS questions.

Lewis Thompson purple at lewiz.info
Thu Oct 9 16:19:33 PDT 2003


On Thu, Oct 09, 2003 at 05:00:02PM -0400, Kenny Freeman wrote:
Content-Description: signed data
> I've got a 120GB drive in that system, so for me I don't really have a
> problem with space.

Yeah, same here, but the way I figure it is it's surely better to
conserve the disk space if at all possible ;)

> jails, for example:
> 
> /secure/files/mail <- mail spools
> 
> would be shared using: (/etc/crontab entries)
> 
> none /secure/files/mail
> /secure/internal/smtp/postfix/server/var/spool/mail
> rw,noexec,nosuid,nodev 0 0 none /secure/files/mail
> /secure/internal/imap/courier/server/var/spool/mail
> rw,noexec,nosuid,nodev 0 0
> 
> haven't really got these up and running yet (ie. I don't really know
> if postfix + courier both work inside a jail).

I can confirm they both do ;)  I assume you mean Courier-IMAP and not
the Courier MTA.  It sucks.  Postfix or Exim are much better ;)

> Anyway, nullfs is great for "remounting"
> parts of the file system.

Yeah, right now I'm using NFS mounts, which is a bit ugly, to say the
least.  Since I had troubles with union I steered clear of nullfs, since
the same ``slippery dog'' warning exists ;)

  Thanks very much for sharing your ideas, eventually somebody will
write a jail HOWTO that covers all of the different methods of achieving
these things... I hope ;)

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple at lewiz.net | jab:lewiz at jabber.org | url:http://lewiz.net |-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031010/eb1e20f5/attachment.bin


More information about the freebsd-questions mailing list