General note on rc scripts and daemonizing

Dominic Fandrey kamikaze at bsdforen.de
Fri Jul 23 08:02:38 UTC 2010


On 17/07/2010 12:56, Ed Schouten wrote:
> ...
> 
> This has various implications. The most important one I can think of, is
> that the daemon can still do open("/dev/tty", ...) if it wants and spam
> your TTY, even if the daemon is running as user `nobody'. This also
> means that if you run the rc script from within a pseudo-terminal, it
> can never actually destroy the pseudo-terminal for you, because maybe
> the daemon is interested in using it.

What is not clear to me, in which way is that a problem?

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-ports mailing list