Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2019 02:48:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239100] r347151 breaks unionfs
Message-ID:  <bug-239100-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239100

            Bug ID: 239100
           Summary: r347151 breaks unionfs
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: t_uemura@macome.co.jp

With the following commit applied, my unionfs mount is almost dying.

https://svnweb.freebsd.org/base?view=3Drevision&revision=3D348991
MFC r347151,347181,347968,348421,348698,348701:
Switch to use shared vnode locks for text files during image activation.

Mine is running FreeBSD 12.0-STABLE FWINA  amd64 as of 19 June 2019 and my
unionfs setup is as follows.

/dev/nda0p2 on / (ufs, NFS exported, local, noatime, journaled soft-updates)
devfs on /dev (devfs, local)
<below>:/usr/portsl on /usr/ports (unionfs, local, noatime)

For example, I tried to build perl5 port by executing make build in
/usr/ports/lang/perl5.30 and I got something like this.

Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
./Configure: cannot create testcpp.out: Text file busy
./Configure: cannot create testcpp.out: Text file busy
./Configure: cannot create testcpp.out: Text file busy
./Configure: cannot create testcpp.out: Text file busy
./Configure: cannot create testcpp.out: Text file busy
No dice.  I can't find a C preprocessor.  Name one: ^C=3D=3D=3D>  Script "C=
onfigure"
failed unexpectedly.
Please report the problem to mat@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.30/work/perl-5.30.0/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provi=
de
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

The actual errors I got vary time to time but most of them are Text file bu=
sy
at some point during configure/build phase, and almost all the time the bui=
lds
fail to finish.

By specifying WRKDIRPREFIX outside the unionfs such as WRKDIRPREFIX=3D/tmp =
works
around the error, or by backing out the whole r348991 commit also fixes. By
reverting only sys/fs/unionfs/union_subr.c to r339434 doesn't work.

Any ideas?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239100-227>