[Pkg-sysvinit-devel] Bug#620788: Automount problem with backports nfs-common and squeeze initscripts

Adam D. Barratt adam at adam-barratt.org.uk
Sat Mar 24 19:47:17 UTC 2012


On Mon, 2012-03-12 at 15:27 -0400, Daniel Kahn Gillmor wrote:
> On 03/12/2012 02:38 PM, Alessandro Grassi wrote:
> > The NFS sources don't get mounted directly by init (in which case that line
> > would have worked), instead they are mounted by the post-up hook in
> > ifupdown (see /etc/network/if-up.d/mountnfs), as i mentioned in my original
> > mail.
[...]
> right.  the difference seems to be:
> 
> --- 2.88dsf-13.1/etc/network/if-up.d/mountnfs	2012-03-12
> +++ 2.88dsf-22/etc/network/if-up.d/mountnfs	2011-12-28
> @@ -98,9 +100,10 @@
>   	# and/or rpc.idmapd, and loads the right kernel modules if
>   	# applicable) if we use Kerberos and/or NFSv4 mounts.
>   	#
> -	if [ "$start_nfs" = yes ] && [ -x /etc/init.d/portmap ] && [ -x 
> /etc/init.d/nfs-common ]
> +	if [ "$start_nfs" = yes ] && [ -x /etc/init.d/nfs-common ]
>   	then
> -		/etc/init.d/portmap start
> +		[ -x /etc/init.d/portmap ] && /etc/init.d/portmap start
> +		[ -x /etc/init.d/rpcbind ] && /etc/init.d/rpcbind start
>   		/etc/init.d/nfs-common start
>   	fi
[...]
> sysvinit maintainers, release team -- what do y'all think of this 
> proposal?  I'd be happy to prepare a package with this targeted fix for 
> squeeze-proposed-updates if you think that would be acceptable.

It looks okay to me, although I'd like to see a final debdiff before
acking an upload; thanks.  Any comment from the sysvinit side?

Regards,

Adam






More information about the Pkg-sysvinit-devel mailing list