Hi Jonas,

Long time, no speak.

On Wed, Apr 12, 2006 at 12:41:28PM +0200, Jonas Smedegaard wrote:
> Package: zeroconf
> Version: 0.8-1
> Severity: normal
> 
> Installing zeroconf in a chroot causes the daemon to be started there,
> disregarding policy.d settings. This causes the temporarily mounted /dev
> within the chroot to be unmountable until the daemon is located and
> killed.
> 
> That's bad for lessdisks :-(

Hmm, zeroconf doesn't start at system boot time but when an interface is
'ifup'd.  It only starts (or should start) a daemon for interfaces which
are listed as 'up' in /etc/network/ifstate when it is installed (on the
presumption that you installed it and want to benefit from it for
currently available interfaces).

I am also wondering what would bring zeroconf into a chroot environment.

> I interpret policy as mandating daemons to always use invoke-rc.d and
> thus respect policy.d - but I am unsure about this interpretation, so
> lowering severity. Please raise it if you agree with my interpretation.

I don't actually see a section in the online policy which talks about
policy.d -- however it has been a long time since I've read it. Pointers
welcome.

There are a few options:

        - modify /etc/default/zeroconf and uncomment DISABLE

        - create a file called /var/run/zeroconf.$IFACE.pid, which will
          cause /etc/network/if-up.d/zeroconf to not run (well 0.8-2
          won't).

        - determine why the chroot thinks that a network interface is
          operational and fix that

        - work out the reason that zeroconf is being brought into the
          chroot and stop that from occuring

I think I've listed the options from easiest to hardest.  I can't think
of a way of having zeroconf run via /etc/init.d/ and properly operating
(it is supposed to survive ifup/ifdown cycles).

Your thoughts would be appreciated.

Regards,
Anand

-- 
 `When any government, or any church for that matter, undertakes to say to
  its subjects, "This you may not read, this you must not see, this you are
  forbidden to know," the end result is tyranny and oppression no matter how
  holy the motives' -- Robert A Heinlein, "If this goes on --"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to