GNU bug report logs - #50748
28.0.50; tramp-sh.el uses mknod file p which is not available on macos

Previous Next

Package: emacs;

Reported by: Damien Merenne <dam <at> cosinux.org>

Date: Thu, 23 Sep 2021 06:31:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Damien Merenne <dam <at> cosinux.org>
To: 50748 <at> debbugs.gnu.org
Subject: bug#50748: Acknowledgement (28.0.50; tramp-sh.el uses mknod file p which is not available on macos)
Date: Thu, 23 Sep 2021 13:50:22 +0000
[Message part 1 (text/plain, inline)]
Thanks for looking at this so quickly!

No idea about the equivalent mknod command. Using strace on Linux shows
that both `mknod p` and `mkfifo` results in the exact same `mknodat` system
call so `mkfifo` could probably be always used ?

It's still not working, I don't see any error regarding the mkfifo now, I
attached the tramp debug buffer. I tried creating the fifo manually on the
macos laptop and running the command

cd /Users/dam/ &&  exec  2>'/tmp/tramp.EIPAXu' env
INSIDE_EMACS\=28.0.50\,tramp\:2.5.2-pre PS1\=/ssh\:laptop.lan\:/Users/dam/\
\#\$\  sh -c while\ sleep\ 1\;\ do\ echo\ \$\(hostname\)\ out\;\ echo\
\$\(hostname\)\ err\ \>\&2\;\ done

And there, it's working, I can cat the fifo and see the stderr output. No
idea why tramp seems to stall. Running over tramp there is just no output
in the stdout nor the stderr buffer.


Le jeu. 23 sept. 2021 à 06:31, GNU bug Tracking System <help-debbugs <at> gnu.org>
a écrit :

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 50748 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 50748: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50748
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
[Message part 2 (text/html, inline)]
[tramp-debug.txt (text/plain, attachment)]

This bug report was last modified 3 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.