← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1694891] Re: All btrfs-tools commands need a quiet option for scripting

 

This bug was fixed in the package btrfs-tools - 4.4-1ubuntu1

---------------
btrfs-tools (4.4-1ubuntu1) xenial; urgency=medium

  * debian/patches/09c052a8b4dcaa96fe5e6c28b12ce24729e827a4.patch:
    backport upstream commit to add new "quiet option" and prevent printing of
    messages on stderr (LP: #1694891)

 -- Gianfranco Costamagna <locutusofborg@xxxxxxxxxx>  Wed, 14 Jun 2017
19:48:16 +0200

** Changed in: btrfs-tools (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1694891

Title:
  All btrfs-tools commands need a quiet option for scripting

Status in btrfs-tools package in Ubuntu:
  Fix Released
Status in btrfs-tools source package in Xenial:
  Fix Released
Status in btrfs-tools source package in Yakkety:
  Fix Released
Status in btrfs-tools source package in Zesty:
  Fix Released
Status in btrfs-tools source package in Artful:
  Fix Released

Bug description:
  [ Impact ]

  by default btrfs spams a lot of messages on stderr, and has no "quiet"
  option to avoid that

  [ Test Case ]
  * Use it for a while and look at stderr messages

  [ Regression potential ]
  * none, the default behaviour won't change

  [ Other info ]
  * this is fixed in yakkety+ releases, only xenial and older are affected

  Btrfs send and receive are noisy on stderr by default (messages like
  "At subvol foo"). It'd be great to get an option to only print there
  if there is an error condition. I assume there are other commands
  which do the same.

  See the patched version that quiets send but not receive. (I didn't realise receive was also noisy when requesting the backport.)
  https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2017-May/017455.html
  https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/+packages

  Many scripts/cron wrappers check for output on stderr in order to
  notify when warnings/errors occur. There should be a way to avoid
  triggering such notifications when btrfs commands are successful.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1694891/+subscriptions