[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633034: nfs-utils: /run transition: Please switch to /run/sendsigs.omit.d



On Wed, Dec 07, 2011 at 02:55:55PM +0000, Roger Leigh wrote:
> On Wed, Dec 07, 2011 at 02:41:39PM +0000, Ben Hutchings wrote:
> > On Wed, 2011-12-07 at 09:52 +0000, Roger Leigh wrote:
> > > tags 633034 + patch
> > > thanks
> > > 
> > > On Thu, Jul 07, 2011 at 11:33:01PM +0100, Roger Leigh wrote:
> > > > Source: nfs-utils
> > > > Version: 1:1.2.3-3
> > > > Severity: important
> > > > 
> > > > Your package is currently using/lib/init/rw/sendsigs.omit.d
> > > > which is now deprecated and pending removal.  Please update your
> > > > package to use /run/sendsigs.omit.d with a versioned dependency
> > > > on initscripts, as detailed below.
> > > 
> > > Patch against current git attached.
> > 
> > I would be quite happy for you to do the NMU if you've tested the
> > result.  Anibal, Luk, any objection to that?
> 
> Thanks.  It's currently untested, but I will do so right now.

Correctly migrates and is correctly recreated on service restart.
Looks OK here.

Note: I tested by applying the patch to current unstable nfs-utils;
I couldn't build from git directly for some reason.  It's not this
patch.  I tried git-buildpackage (fails packing with dpkg-source)
and dpkg-buildpackage (same error):

ravenclaw% git reset --hard
HEAD is now at 54f72b6 debian: Migrate from /lib/init/rw to /run and close #633034
ravenclaw% dpkg-buildpackage -us -uc                  
dpkg-buildpackage: source package nfs-utils
dpkg-buildpackage: source version 1:1.2.5-2.1
dpkg-buildpackage: source changed by Roger Leigh <rleigh@debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build nfs-utils
dpkg-source: info: using options from nfs-utils/debian/source/options: --compression=bzip2 --compression-level=9
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -rf /tmp/nfs-utils/debian/tmp
[ ! -f Makefile ] || /usr/bin/make distclean
dh_autoreconf_clean
dh_clean
dpkg-source: info: using options from nfs-utils/debian/source/options: --compression=bzip2 --compression-level=9
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nfs-utils using existing ./nfs-utils_1.2.5.orig.tar.bz2
dpkg-source: warning: ignoring deletion of file utils/nfsidmap/Makefile.in
dpkg-source: warning: ignoring deletion of file utils/blkmapd/Makefile.in
dpkg-source: info: local changes detected, the modified files are:
 nfs-utils/Makefile.in
 nfs-utils/aclocal.m4
 nfs-utils/aclocal/kerberos5.m4
 nfs-utils/aclocal/libtool.m4
 nfs-utils/aclocal/ltversion.m4
 nfs-utils/config.log
 nfs-utils/configure
 nfs-utils/linux-nfs/Makefile.in
 nfs-utils/ltmain.sh
 nfs-utils/support/Makefile.in
 nfs-utils/support/export/Makefile.in
 nfs-utils/support/include/Makefile.in
 nfs-utils/support/include/config.h.in
 nfs-utils/support/include/nfs/Makefile.in
 nfs-utils/support/include/rpcsvc/Makefile.in
 nfs-utils/support/include/sys/Makefile.in
 nfs-utils/support/include/sys/fs/Makefile.in
 nfs-utils/support/misc/Makefile.in
 nfs-utils/support/nfs/Makefile.in
 nfs-utils/support/nsm/Makefile.in
 nfs-utils/tests/Makefile.in
 nfs-utils/tests/nsm_client/Makefile.in
 nfs-utils/tools/Makefile.in
 nfs-utils/tools/locktest/Makefile.in
 nfs-utils/tools/mountstats/Makefile.in
 nfs-utils/tools/nfs-iostat/Makefile.in
 nfs-utils/tools/nlmtest/Makefile.in
 nfs-utils/tools/rpcdebug/Makefile.in
 nfs-utils/tools/rpcgen/Makefile.in
 nfs-utils/utils/Makefile.in
 nfs-utils/utils/blkmapd/device-process.c
 nfs-utils/utils/exportfs/Makefile.in
 nfs-utils/utils/exportfs/nfsd.man
 nfs-utils/utils/gssd/Makefile.in
 nfs-utils/utils/gssd/gss_util.c
 nfs-utils/utils/gssd/gssd_proc.c
 nfs-utils/utils/idmapd/Makefile.in
 nfs-utils/utils/mount/Makefile.in
 nfs-utils/utils/mount/fstab.c
 nfs-utils/utils/mount/fstab.h
 nfs-utils/utils/mount/mount.c
 nfs-utils/utils/mount/mount.nfs.man
 nfs-utils/utils/mountd/Makefile.in
 nfs-utils/utils/nfsd/Makefile.in
 nfs-utils/utils/nfsd/nfsd.man
 nfs-utils/utils/nfsstat/Makefile.in
 nfs-utils/utils/showmount/Makefile.in
 nfs-utils/utils/statd/Makefile.in
 nfs-utils/utils/statd/statd.c
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/nfs-utils_1.2.5-2.1.diff.6o1obE
dpkg-buildpackage: error: dpkg-source -b nfs-utils gave error exit status 2

Plain "debian/rules build" failed with:

checking for nfs4_set_debug in -lnfsidmap... (cached) yes
checking for nfs4_owner_to_uid in -lnfsidmap... (cached) yes
checking spkm3.h usability... no
checking spkm3.h presence... no
checking for spkm3.h... no
configure: WARNING: Could not locate SPKM3 header; will not have SPKM3 support
checking for Kerberos v5... configure: error: Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=
make: *** [build-stamp] Error 1

So not sure what is wrong with git.  Maybe you need to do something
special I'm not aware of.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.



Reply to: