stderr from a bzr+ssh smart server process should not be sent to the client

Bug #144394 reported by Andrew Bennetts
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

If the smart server process run by bzr+ssh happens to emit warnings, they should not be displayed by the client as if they were local (e.g. the recent "could not open /root/.bzr.log" warnings from bazaar.launchpad.net).

This could potentially be done by carefully redirecting stderr on the server always, or perhaps passing a new pipe for stderr to the openssh subprocess on the client side.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 144394] stderr from a bzr+ssh smart server process should not be sent to the client

The warnings should not be lost, but rather logged to a place which is
available to the codehost maintainers (eg rsync'd away from the
production server or something similar.)

Revision history for this message
Martin Pool (mbp) wrote :

On the whole I think it does make sense to display them on the client, because sometimes they're the best clue as to what is going wrong. However, they should be distinguished from local messages, maybe by adding a prefix to each line. However, we can't use ssh stderr for messages the user must see, because there's no equivalent when operating over tcp or http.

Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.