Hello Paulo, or anyone else affected,

Accepted ufw into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ufw/0.36-0ubuntu0.18.04.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ufw in Ubuntu.
https://bugs.launchpad.net/bugs/1775043

Title:
  bash completion not working: uses deprecated have()

Status in ufw:
  Fix Released
Status in ufw package in Ubuntu:
  Fix Released
Status in ufw source package in Bionic:
  Fix Committed
Status in ufw source package in Cosmic:
  Fix Committed
Status in ufw source package in Disco:
  Fix Released

Bug description:
  [Impact]

  Tab completion is currently broken.

  [Test Case]

  $ ufw <tab><tab>
  allow      delete     --dry-run  --help     logging    reset      status
  app        deny       enable     insert     reject     route      version
  default    disable    --force    limit      reload     show

  With an unpatched ufw, tab completion only shows the files in the
  current directory, which is meaningless for ufw.

  [Regression Potential]

  Risk of regression is considered very low since tab completion is
  totally broken and correct functionality is easily tested.

  
  = Original description =

  bash completion, defined in /usr/share/bash-
  completion/completions/ufw, doesn't work: the completion is not
  dynamically loaded, because it uses deprecated helper function have().

  According to /usr/share/bash-completions/bash_completion, which
  defines the helper functions:

  # Backwards compatibility for compat completions that use have().
  # @deprecated should no longer be used; generally not needed with dynamically
  #             loaded completions, and _have is suitable for runtime use.

  and at the end of the file:

  unset -f have
  unset have

  which means: function have() is not available for usage. The bash
  completion for ufw conditionally defines _ufw and the comspec:

  have ufw &&
  _ufw()
  ...

  [ "$have" ] && complete -F _ufw ufw

  These should be changed to:

  _have ufw &&
  _ufw()
  ...

  _have ufw && complete -F _ufw ufw

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ufw 0.35-5
  ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
  Uname: Linux 4.15.0-22-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.1
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Mon Jun  4 14:34:11 2018
  InstallationDate: Installed on 2018-04-28 (37 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  PackageArchitecture: all
  SourcePackage: ufw
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ufw/+bug/1775043/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to