On Sun, 4 Aug 2024 13:53:20 +0200 Paul Gevers <elb...@debian.org> wrote:
> On 04-08-2024 13:40, Reinhard Tartler wrote:
> 
> > None of that is particularly helpful and confusing at best. Filtering 
> > out known harmless error message will avoid users scratching their 
> > heads, wasting time on debugging and as such lead to better UX.
> 
> Agree. I'm a bit surprised it's printed, because I thought output to 
> stdout at that level would already be ignored (as you can see in my 
> comments in the merge request [1]). I'll think about the best solution 
> (probably just 2> /dev/null) as I don't think we want to maintain a list 
> of harmless messages to filter out.

I agree we should not keep a list of (maybe) harmless messages.

On doing 2>/dev/null, I believe that a-v-unshare runs tests without a
populated /dev, so /dev/null is missing. In create-normal-user there are
other >/dev/null redirects, and unshare appears to be working, but it
could by chance.

However: maybe this is a bug in a-virt-unshare, missing a bind mount?

--
Paride

Reply via email to