Bug 1176758 - running "atomic db version" gives GLib-WARNING
Summary: running "atomic db version" gives GLib-WARNING
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Atomic
Classification: Retired
Component: rpm-ostree
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-23 04:41 UTC by Dusty Mabe
Modified: 2017-06-07 14:15 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1219700 (view as bug list)
Environment:
Last Closed: 2017-06-07 14:15:41 UTC
RHEL 7.3 requirements from Atomic Host:
Embargoed:


Attachments (Terms of Use)

Description Dusty Mabe 2014-12-23 04:41:15 UTC
Description of problem:

running "atomic db version" gives GLib-WARNING. See the below output:

-bash-4.3# atomic db version ba7ee9475c

(atomic db version:994): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: No such file or directory: /var/lib
.......................................
...... repeated many times ............
.......................................
ostree commit: ba7ee9475c (ba7ee9475c462c9265517ab1e5fb548524c01a71709539bbe744e5fdccf6288b)
  rpmdbv is:                         309:c42413b93a6ca3b780105dc0ae4d9fc6fc633000




Version-Release number of selected component (if applicable):

-bash-4.3# rpm -q rpm-ostree
rpm-ostree-2014.114-2.fc21.x86_64
-bash-4.3# rpm-ostree status
  TIMESTAMP (UTC)         ID             OSNAME            REFSPEC                                                
* 2014-12-22 01:30:45     5e04960269     fedora-atomic     fedora-atomic:fedora-atomic/f21/x86_64/docker-host     
  2014-12-03 01:30:09     ba7ee9475c     fedora-atomic     fedora-atomic:fedora-atomic/f21/x86_64/docker-host

How reproducible:

Always


Steps to Reproduce:
1. Run the F21 atomic image.
2. Do an atomic upgrade to 5e04960269 or some version with rpm-ostree-2014.114-2.fc21.x86_64
3. run atomic db version <hash>
4. observe error. 

Actual results:
see description


Expected results:
no glib errors

Comment 1 Colin Walters 2014-12-23 17:20:42 UTC
Should be fixed by https://github.com/projectatomic/rpm-ostree/pull/72

Comment 2 Dusty Mabe 2015-05-08 15:04:51 UTC
Should not have made 1219700 a clone of this one. Removing "Blocks" list.

Comment 3 Mike McCune 2016-03-28 23:45:25 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions


Note You need to log in before you can comment on or make changes to this bug.