Bug#382977: [Pbuilder-maint] Bug#382977: fails to umount with internal pdebuild

Junichi Uekawa dancer at netfort.gr.jp
Thu Aug 17 13:52:08 UTC 2006


At Thu, 17 Aug 2006 08:41:28 +0900,
Junichi Uekawa wrote:
> 
> Hi,
> 
> > --- pbuilder-checkparams  2006-07-26 00:39:52.000000000 +0100            
> > +++ /tmp/pbuilder-checkparams 2006-08-16 16:15:12.000000000 +0100
> > @@ -264,3 +264,5 @@
> >   ;;
> >  esac
> >  
> > +# sort BINDMOUNTS to ensure that deeper directories are mounted last
> > +BINDMOUNTS="$(for i in $BINDMOUNTS; do echo $i; done | sort -u)"
> > 
> > 
> > 
> > --- pbuilder-modules  2006-07-26 00:39:53.000000000 +0100
> > +++ /tmp/pbuilder-modules 2006-08-16 16:18:26.000000000 +0100
> > @@ -126,7 +126,13 @@
> >   fi
> >   umount_one "proc"
> >      fi
> > +    # push arguments on a stack to reverse direction
> > +    local reversed
> > +    reversed=''
> >      for mnt in $BINDMOUNTS; do
> > +      reversed="$mnt $reversed"
> > +    done
> > +    for mnt in $reversed; do
> >   umount_one "$mnt"
> >      done
> >  }
> 
> This looks good.
> Could you commit with appropriate entries in:
> ChangeLog
> debian/changelog


As it's documented in pbuilder-doc.xml

 
    <sect1 id="development">
      <title>Development</title>
      <para>
	This section tries to document current development practices
	and how things generally operate in development.
      </para>
      <para>
	<command>pbuilder</command> is now co-maintained at alioth.
	There is an alioth project page at
	<ulink url="http://alioth.debian.org/projects/pbuilder">
	http://alioth.debian.org/projects/pbuilder</ulink>.
	CVS Repository is available through anonymous CVS
      </para>
      <screen>
cvs -d:pserver:anonymous at cvs.alioth.debian.org:/cvsroot/pbuilder login
cvs -z3 -d:pserver:anonymous at cvs.alioth.debian.org:/cvsroot/pbuilder co pbuilder
      </screen>



regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list