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

Re: Python mknod(... stat.S_IFSOCK) failure



Robert Millan <rmh@debian.org> writes:

> Which directory is it creating the socket in? /dev by any chance?

Nope, just my home directory.

> Can you try doing the same using mknod(1)?

If this is actually the same thing:

  (sid_kfreebsd-amd64-dchroot)rlb@falla:~/bup-0.25~rc2$ mknod foo p
  (sid_kfreebsd-amd64-dchroot)rlb@falla:~/bup-0.25~rc2$ ls -l foo
  prw-r--r-- 1 rlb Debian 0 Sep  8 00:04 foo

> If it works, can you run both using ktrace(1) and compare the output
> of mknod syscall?

Thanks.  Doing so led me to suspect it may just be (k)freebsd's
mknod(2):

  https://lists.samba.org/archive/rsync/2004-September/010625.html

So perhaps we'll have to consider special casing on the relevant
platforms.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


Reply to: