[Bug 1788681] Re: changed exit code for 'dc' in Ubuntu Bionic
Launchpad Bug Tracker
1788681 at bugs.launchpad.net
Fri Aug 24 06:22:16 UTC 2018
This bug was fixed in the package dphys-swapfile - 20100506-5
---------------
dphys-swapfile (20100506-5) unstable; urgency=high
* Add patch to fix the setup subcommand exiting prematurely with more
recent dc versions. (Closes: #906767, LP: #1788681) Also update
check-diskspace-first.patch which uses the same syntax. Thanks to
eHenry Berg for the initial bug report, Davide Prina for additional
debugging help, and Wladimir Mutel for finding the actual culprit.
-- Axel Beckert <abe at debian.org> Thu, 23 Aug 2018 23:29:41 +0200
** Changed in: dphys-swapfile (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bc in Ubuntu.
https://bugs.launchpad.net/bugs/1788681
Title:
changed exit code for 'dc' in Ubuntu Bionic
Status in bc package in Ubuntu:
New
Status in dphys-swapfile package in Ubuntu:
Fix Released
Bug description:
in Ubuntu Xenial :
$ lsb_release -rdc ; echo 1 1 + p q | dc ; echo $?
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
2
0
in Ubuntu Bionic :
$ lsb_release -rdc ; echo 1 1 + p q | dc ; echo $?
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
2
1
This change causes some scripts using 'dc' to fail, most importantly,
'dphys-swapfile' which for some ironic reason uses 'dc' instead of
'echo $((...))' for its calculations.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bc/+bug/1788681/+subscriptions
More information about the foundations-bugs
mailing list