Control: found -1 1.17.23 On Mon, 2015-06-08 at 23:08:09 -0500, Adam Majer wrote: > On Tue, Jun 09, 2015 at 02:09:35AM +0200, Guillem Jover wrote: > > On Mon, 2015-06-08 at 14:00:28 -0500, Adam Majer wrote: > > > When unpacking in /tmp, which is a tmpfs, > > > > > > $ dpkg-source -x ipsec-tools_0.8.2+20140711-3.dsc > > > dpkg-source: info: extracting ipsec-tools in ipsec-tools-0.8.2+20140711 > > > dpkg-source: info: unpacking ipsec-tools_0.8.2+20140711.orig.tar.gz > > > dpkg-source: error: unable to rename > > > /tmp/ipsec-tools_0.8.2+20140711.orig.tar.gz.tmp-extract.30RfU/ipsec-tools-0.8.2 > > > to ipsec-tools-0.8.2+20140711: Invalid cross-device link > > > > I tried this on a system with Linux 4.0.0, with a tmpfs /tmp (with > > mount options: rw,nosuid,nodev,relatime), and I cannot reproduce it. > > So I'd appreciate more details. > > > > Can you also reproduce it with dpkg-dev 1.17.25? Just to discard if > > this is perhaps a regression, but I doubt it. > > > > Hmm, is this with some kind of per user tmpfs /tmp, and if yes, does > > it work if you switch to a normal global tmpfs /tmp? > > This is not a regression. I upgraded from another version that I had > earlier to make sure it wasn't happening before. > > 2015-06-08 12:55:47 upgrade dpkg-dev:all 1.17.23 1.18.1
Thanks, marked as such. > Furthermore, this wasn't a problem in the past so something must have > changed recently (TM) and I'm not sure what. Ok, could you try with an older kernel? Preferably the one from before the upgrade? Do you have any security modules loaded and active? > /tmp is mounted globally > > adamm@mira:/tmp$ touch a > adamm@mira:/tmp$ ln a b > adamm@mira:/tmp$ ls -ltr a b > -rw-r--r-- 2 adamm adamm 0 Jun 8 22:57 b > -rw-r--r-- 2 adamm adamm 0 Jun 8 22:57 a Could you also try (w/ your current setup) in /tmp: $ touch a $ perl -e 'rename "a", "b" or die "$!"' $ rm b and $ mkdir -p d/a $ perl -e 'rename "d/a", "d-a" or die "$!"' $ rmdir d d-a Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org