/usr/bin/corosync-blackbox: 34: /usr/bin/corosync-blackbox: qb-blackbox: not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
corosync (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Won't Fix
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Zesty |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Miriam España Acebal | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU]
[Impact]
The command corosync-blackbox can't be used in Bionic.
[Test Plan]
1) sudo apt-get install corosync
2) sudo corosync-blackbox.
root@juju-
/usr/bin/
Expected results: corosync-blackbox runs OK:
ubuntu@
Dumping the contents of /var/lib/
[debug] shm size:8392704; real_size:8392704; rb->word_
[debug] read total of: 8392724
Ringbuffer:
->NORMAL
->write_pt [2866]
->read_pt [0]
->size [2098176 words]
=>free [8381236 bytes]
=>used [11464 bytes]
debug Sep 28 20:21:50 totempg_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 totemsrp_
notice Sep 28 20:21:50 totemnet_
notice Sep 28 20:21:50 init_nss(688):14: Initializing transmit/receive security (NSS) crypto: none hash: none
debug Sep 28 20:21:50 totemudp_
debug Sep 28 20:21:50 totemudp_
debug Sep 28 20:21:50 totemudp_
debug Sep 28 20:21:50 totemudp_
trace Sep 28 20:21:50 qb_loop_
trace Sep 28 20:21:50 qb_loop_
trace Sep 28 20:21:50 qb_loop_
notice Sep 28 20:21:50 timer_function_
debug Sep 28 20:21:50 main_iface_
info Sep 28 20:21:50 qb_ipcs_
trace Sep 28 20:21:50 qb_loop_
info Sep 28 20:21:50 qb_ipcs_
trace Sep 28 20:21:50 qb_loop_
info Sep 28 20:21:50 qb_ipcs_
trace Sep 28 20:21:50 qb_loop_
info Sep 28 20:21:50 qb_ipcs_
trace Sep 28 20:21:50 qb_loop_
info Sep 28 20:21:50 qb_ipcs_
trace Sep 28 20:21:50 qb_loop_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 old_ring_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
trace Sep 28 20:21:50 totemsrp_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 message_
debug Sep 28 20:21:50 old_ring_
debug Sep 28 20:21:50 deliver_
trace Sep 28 20:21:50 memb_state_
debug Sep 28 20:21:50 totempg_
debug Sep 28 20:21:50 memb_state_
notice Sep 28 20:21:50 memb_state_
trace Sep 28 20:21:50 totemsrp_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 totemsrp_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 totemsrp_
trace Sep 28 20:21:50 totemsrp_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 totemsrp_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
debug Sep 28 20:21:50 totempg_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:21:50 messages_
trace Sep 28 20:22:03 qb_loop_
debug Sep 28 20:22:03 handle_
debug Sep 28 20:22:03 qb_ipcs_
debug Sep 28 20:22:03 qb_rb_open_
debug Sep 28 20:22:03 qb_rb_open_
debug Sep 28 20:22:03 qb_rb_open_
trace Sep 28 20:22:03 qb_loop_
debug Sep 28 20:22:03 qb_ipcs_
debug Sep 28 20:22:03 qb_ipcs_
trace Sep 28 20:22:03 qb_rb_close(290):9: ENTERING qb_rb_close()
debug Sep 28 20:22:03 qb_rb_close_
trace Sep 28 20:22:03 my_posix_
trace Sep 28 20:22:03 qb_rb_close(290):9: ENTERING qb_rb_close()
debug Sep 28 20:22:03 qb_rb_close_
trace Sep 28 20:22:03 my_posix_
trace Sep 28 20:22:03 qb_rb_close(290):9: ENTERING qb_rb_close()
debug Sep 28 20:22:03 qb_rb_close_
trace Sep 28 20:22:03 my_posix_
debug Sep 28 20:22:03 handle_
debug Sep 28 20:22:03 qb_ipcs_
debug Sep 28 20:22:03 qb_rb_open_
debug Sep 28 20:22:03 qb_rb_open_
debug Sep 28 20:22:03 qb_rb_open_
ERROR: qb_rb_chunk_read failed: Connection timed out
[trace] ENTERING qb_rb_close()
[debug] Free'ing ringbuffer: /dev/shm/
Current results:
$ sudo corosync-blackbox
/usr/bin/
[Where problems could occur]
The reverse dependencies of the B-D introduced has been analized:
- It only affects to corosync source:
$ apt rdepends libqb-dev
libqb-dev
Reverse Depends:
Depends: libcorosync-
Depends: libcorosync-
Depends: libcorosync-
- It's present in Bionic:
ubuntu@
libqb-dev:
Installed: 1.0.1-1ubuntu1
Candidate: 1.0.1-1ubuntu1
Version table:
*** 1.0.1-1ubuntu1 500
500 http://
100 /var/lib/
ubuntu@
libqb-dev
PreDepends: dpkg (>= 1.17.14)
Depends: libqb0 (= 1.0.1-1ubuntu1)
Depends: libc6 (>= 2.3.4)
Suggests: libqb-doc
No other packages will be affected by this if a libqb-dev removal occurs.
[Other Info]
This solution follows the example of the same bug fixed in Focal at https:/
[Original Description]
-------
[Environment]
Ubuntu Xenial 16.04
Amd64
[Test Case]
1) sudo apt-get install corosync
2) sudo corosync-blackbox.
root@juju-
/usr/bin/
Expected results: corosync-blackbox runs OK.
Current results:
$ sudo corosync-blackbox
/usr/bin/
[Impact]
* Cannot run corosync-blackbox
[Regression Potential]
* None identified.
[Fix]
Make the package dependant of libqb-dev
root@juju-
/usr/sbin/
Related branches
- Utkarsh Gupta (community): Approve
- Athos Ribeiro: Pending requested
-
Diff: 47 lines (+16/-1)3 files modifieddebian/changelog (+12/-0)
debian/control (+3/-1)
debian/libtotem-pg5.symbols (+1/-0)
- Athos Ribeiro (community): Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 47 lines (+16/-1)3 files modifieddebian/changelog (+12/-0)
debian/control (+3/-1)
debian/libtotem-pg5.symbols (+1/-0)
- Christian Ehrhardt (community): Approve
- Canonical Server Core Reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 971 lines (+823/-2)22 files modifieddebian/changelog (+30/-0)
debian/control (+3/-1)
debian/corosync-notifyd.init (+0/-1)
debian/patches/series (+19/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-09f6d34a-logconfig-Remove-double-free-of-value.patch (+25/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-0c118d8f-totemknet-Check-result-of-fcntl-O_NONBLOCK-call.patch (+32/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-0c16442f-votequorum-Change-check-of-expected_votes.patch (+51/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-1fb095b0-notifyd-Check-cmap_track_add-result.patch (+50/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-29109683-totemknet-Assert-strcpy-length.patch (+44/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-35c312f8-votequorum-Assert-copied-strings-length.patch (+38/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-380b744e-totemknet-Don-t-mix-corosync-and-knet-error-codes.patch (+52/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-56ee8503-quorumtool-Assert-copied-string-length.patch (+25/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-5f543465-quorumtool-exit-on-invalid-expected-votes.patch (+33/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-624b6a47-stats-Assert-value_len-when-value-is-needed.patch (+26/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-74eed54a-sync-Assert-sync_callbacks.name-length.patch (+27/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-89b0d62f-stats-Check-return-code-of-stats_map_get.patch (+26/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-8ce65bf9-votequorum-Reflect-runtime-change-of-2Node-to-WFA.patch (+80/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-8ff7760c-cmapctl-Free-bin_value-on-error.patch (+30/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-a24cbad5-totemconfig-Initialize-warnings-variable.patch (+26/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-c631951e-icmap-icmap_init_r-leaks-if-trie_create-fails.patch (+32/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-ca320bea-votequorum-set-wfa-status-only-on-startup.patch (+67/-0)
debian/patches/ubuntu-v3.0.3-fixes/lp1869622-efe48120-totemconfig-Free-leaks-found-by-coverity.patch (+107/-0)
tags: | added: sts |
description: | updated |
tags: |
added: sts-sponsor removed: sts |
Changed in corosync (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in corosync (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in corosync (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
description: | updated |
Changed in corosync (Ubuntu Yakkety): | |
status: | Confirmed → In Progress |
importance: | Undecided → Medium |
no longer affects: | corosync (Ubuntu Yakkety) |
Changed in corosync (Ubuntu Zesty): | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
importance: | Undecided → Medium |
tags: | removed: sts-sponsor |
Changed in corosync (Ubuntu Trusty): | |
assignee: | Jorge Niedbalski (niedbalski) → nobody |
Changed in corosync (Ubuntu): | |
assignee: | Jorge Niedbalski (niedbalski) → nobody |
Changed in corosync (Ubuntu Zesty): | |
assignee: | Jorge Niedbalski (niedbalski) → nobody |
Changed in corosync (Ubuntu Xenial): | |
assignee: | Jorge Niedbalski (niedbalski) → nobody |
Changed in corosync (Ubuntu): | |
importance: | Medium → Undecided |
Changed in corosync (Ubuntu Zesty): | |
importance: | Medium → Undecided |
Changed in corosync (Ubuntu Trusty): | |
importance: | Medium → Undecided |
Changed in corosync (Ubuntu Xenial): | |
importance: | Medium → Undecided |
Changed in corosync (Ubuntu Focal): | |
status: | Incomplete → Confirmed |
Changed in corosync (Ubuntu Eoan): | |
status: | New → Confirmed |
Changed in corosync (Ubuntu Disco): | |
status: | New → Won't Fix |
Changed in corosync (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in corosync (Ubuntu Zesty): | |
status: | Incomplete → Won't Fix |
Changed in corosync (Ubuntu Xenial): | |
status: | Incomplete → Confirmed |
Changed in corosync (Ubuntu Trusty): | |
status: | Incomplete → Won't Fix |
Changed in corosync (Ubuntu Bionic): | |
assignee: | nobody → Miriam España Acebal (mirespace) |
status: | Confirmed → In Progress |
description: | updated |
This is a bit too much "nobody cares on yakkety" as after the fix it will appear as regression X->Y upgrades. Yet the fix should be just the same, but sponsors should mind that.
Jorge would you ack that the same should go to Yakkety or are there reasons not to be seen too obviously that speaks against that?
Also I see that >=Xenial changes depend on libqb-dev >=0.12, but Trusty not. real-1ubuntu5 so it could have the >=0.12 as well which makes me wonder even more why >=0.12 actually?
Trusty would have 0.16.0.
The issue is simple enough I don't see other reasons to not sponsor, but those two points should be clarified/fixed before one is doing so.