-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman-remote: build: RUN causes [unwanted] debug output on client #6579
Comments
@edsantiago I do not see the debug that you see i guess... can you post an example.
|
@baude did you run the server with --log-level=debug? |
always do! |
I left out this because I was filing so many bugs: $ export MYSOCK=unix:/tmp/mypodmansock Could that be it? I am still seeing it on current master |
I can't find any way NOT to reproduce this, so I'll give a full recipe and will include logs. In window 1: $ ./bin/podman --log-level=debug system service --timeout=0 unix:/tmp/mypodmansock Window 2: $ cat a/Containerfile
FROM docker.io/library/alpine:latest
RUN echo hi
$ ./bin/podman-remote --url unix:/tmp/mypodmansock build a >6579-stdout 2>6579-stderr All output, including debug messages, goes to 6579-stdout.txt, none to stderr. One fact I had not noticed before is that the build (with or without
f32, kernel 5.6.7-300, container-selinux-2.135.0-1.fc32 |
If you put the machin in permissive mode, does it fix the issue? |
I am getting DEBUG Also. |
|
A friendly reminder that this issue had no activity for 30 days. |
@edsantiago are you still seeing this problem? |
Still seeing it on f32, master @ 17f9b80 |
@edsantiago a couple of months later still an issue? |
Issue is still present, but I see no non-team watchers on the issue, so perhaps this isn't important to anyone but me. I'm not going to be the one to close it, but I'll accept a CLOSED_NOBODYCARES from the team. |
Well @jwhonce Is doing a rewrite of this section of code, so maybe it will be fixed in his next pass. |
FWIW, issue still present after #7452 |
@edsantiago Thanks for attaching the output. That is coming up from buildah on stderr. At the podman/libpod layer I can either ignore stderr or display it. I cannot filter because of partial writes coming out of buildah. |
@edsantiago @jwhonce Is this still an issue? |
Yes, I still consider this an issue. It violates POLA for a debug flag on the server to cause debug output on the client. But as I mentioned in my September 10 comment, I will accept CLOSED_NOBODYCARES; I'm just not willing to be the one closing it. |
@umohnani8 do you think your work on fixing the stderr/stdout munging will fix this? or completely unrelated? |
@baude no that doesn't target the |
A friendly reminder that this issue had no activity for 30 days. |
@umohnani8 have you had a chance to look at this? |
Yeah, this was not related to the issue we had filed in buildah containers/buildah#2423. Buildah writes all debug and extra output to stderr. Maybe something to do with remote here? |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
I just tried this experiment and saw no output. Reopen if you have a new repeater. |
Problem still exists on my end, but it looks like I'm the only one who finds this objectionable. I'll leave it closed until someone in the community comments. |
Run podman server with debug enabled:
$ ./bin/podman --log-level=debug system service --timeout=0 $MYSOCK
Then, in another window, run a podman build using a Containerfile with a RUN:
The text was updated successfully, but these errors were encountered: