Bug#688750: [buildd-tools-devel] Bug#688750: Bug#688750: schroot and autofs need better integration

2012-11-05 Thread Reinhard Tartler
On Sun, Nov 4, 2012 at 8:26 PM, Roger Leigh rle...@codelibre.net wrote: On Sat, Nov 03, 2012 at 06:13:33PM +0100, Reinhard Tartler wrote: On Sat, Nov 3, 2012 at 6:01 PM, Roger Leigh rle...@codelibre.net wrote: I'm afraid I'm not an autofs expert by any means, so I can't give great

Bug#688750: [buildd-tools-devel] Bug#688750: Bug#688750: schroot and autofs need better integration

2012-11-05 Thread Roger Leigh
On Mon, Nov 05, 2012 at 12:20:32PM +0100, Reinhard Tartler wrote: On Sun, Nov 4, 2012 at 8:26 PM, Roger Leigh rle...@codelibre.net wrote: OK. I think this all looks absolutely fine, but some thoughts: I don't think this is something which should be run unconditionally, so I think it

Bug#688750: [buildd-tools-devel] Bug#688750: Bug#688750: schroot and autofs need better integration

2012-11-04 Thread Roger Leigh
On Sat, Nov 03, 2012 at 06:13:33PM +0100, Reinhard Tartler wrote: On Sat, Nov 3, 2012 at 6:01 PM, Roger Leigh rle...@codelibre.net wrote: I'm afraid I'm not an autofs expert by any means, so I can't give great feedback here. Some questions: - what creates the new autofs map? And what

Bug#688750: [buildd-tools-devel] Bug#688750: schroot and autofs need better integration

2012-11-03 Thread Roger Leigh
On Thu, Nov 01, 2012 at 04:38:09PM +0100, Reinhard Tartler wrote: On Thu, Nov 1, 2012 at 3:34 PM, Reinhard Tartler siret...@gmail.com wrote: Nevertheless, I've also implemented another approach, which uses the host automount binary. I did not test the script extensively, but it seems to

Bug#688750: [buildd-tools-devel] Bug#688750: schroot and autofs need better integration

2012-11-03 Thread Reinhard Tartler
On Sat, Nov 3, 2012 at 6:01 PM, Roger Leigh rle...@codelibre.net wrote: On Thu, Nov 01, 2012 at 04:38:09PM +0100, Reinhard Tartler wrote: On Thu, Nov 1, 2012 at 3:34 PM, Reinhard Tartler siret...@gmail.com wrote: Nevertheless, I've also implemented another approach, which uses the

Bug#688750: schroot and autofs need better integration

2012-11-01 Thread Reinhard Tartler
On Tue, Sep 25, 2012 at 5:14 PM, Michael Tokarev m...@tls.msk.ru wrote: On 25.09.2012 15:34, Reinhard Tartler wrote: In order to solve this, I see two possibilities: a) enhance the autofs init script to become chroot-aware. b) extend schroot to start autofs managed mount points by itself,

Bug#688750: schroot and autofs need better integration

2012-11-01 Thread Reinhard Tartler
On Thu, Nov 1, 2012 at 3:34 PM, Reinhard Tartler siret...@gmail.com wrote: Nevertheless, I've also implemented another approach, which uses the host automount binary. I did not test the script extensively, but it seems to work as a proof of concept on both schroot 1.4 and schroot 1.6

Bug#688750: schroot and autofs need better integration

2012-09-25 Thread Reinhard Tartler
Package: schroot,autofs Severity: normal I have a setup in which the home directory is mounted via NFS with the help of autofs. Because of #622756 and #648459, bind-mounting /home with the rbind option is unfortunately not an option. Until this becomes possible, the chroot needs to start its own

Bug#688750: schroot and autofs need better integration

2012-09-25 Thread Michael Tokarev
On 25.09.2012 15:34, Reinhard Tartler wrote: Package: schroot,autofs Severity: normal I have a setup in which the home directory is mounted via NFS with the help of autofs. Because of #622756 and #648459, bind-mounting /home with the rbind option is unfortunately not an option. Until this

Bug#688750: schroot and autofs need better integration

2012-09-25 Thread Reinhard Tartler
On Tue, Sep 25, 2012 at 5:14 PM, Michael Tokarev m...@tls.msk.ru wrote: Autofs initscript uses start-stop-daemon with a pidfile option. Oh, it seems that this has been rectified in by now wheezy, but not in wheezy-backports yet. If you don't mind, I would update the backport as I was the last

Bug#688750: schroot and autofs need better integration

2012-09-25 Thread Michael Tokarev
On 25.09.2012 19:34, Reinhard Tartler wrote: On Tue, Sep 25, 2012 at 5:14 PM, Michael Tokarev m...@tls.msk.ru wrote: Autofs initscript uses start-stop-daemon with a pidfile option. Oh, it seems that this has been rectified in by now wheezy, but not in wheezy-backports yet. If you don't