Conversation
|
Can you rebase this on top of #813 so CI can test this PR? |
The shell alias "-" should work for stdin, but on one of my servers it was not working and stracing the process showed it kept trying to open a file named /-. I do not know how or why this was the case, but altering it to read /dev/stdin instead solved the issue.
missytake
left a comment
There was a problem hiding this comment.
Looks good in a smoke test :)
that doesn't make sense to me, "-" is a shell feature not something that mtail would need to natively support, right? edit: huh! It's not a shell feature? TIL after all these years... anyway, I'm not using an old mtail version I'm installing 3.0.9 which is the latest. It's not getting stuck for me, seems to be working great now with /dev/stdin |
|
I think new version is not getting stuck since about the same time as they added |
I wish I could understand why this was happening, but even though my deployment with my Chatmail cookbook produced a 100% identical ExecStart command, the mtail process was trying to read a file named /- which did not exist.
This is a harmless change and should ensure nobody else runs into this mysterious edge case.