Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glib-2.24.1-r1 breaks amanda (2.6.1_p2), for both x86/amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gordonp
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 102

PostPosted: Wed Aug 04, 2010 6:41 pm    Post subject: glib-2.24.1-r1 breaks amanda (2.6.1_p2), for both x86/amd64 Reply with quote

Yesterday, I updated world, and glib went from glib-2.2.5 up to glib-2.24.1-r1.
And, this broke my amanda tape-backups on four servers :-( The breakage is visible when running amcheck:

Code:
amanda@hydra ~ $ amcheck Daily
Amanda Tape Server Host Check
-----------------------------
Holding disk /holding: 136052736 kB disk space available, using 10485760 kB as requested
**
ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())

Amanda Backup Client Hosts Check
--------------------------------
Client check: 3 hosts checked in 32.054 seconds.  0 problems found.

(brought to you by Amanda 2.6.1p2)

The breakage is also visible when amanda emails the report, and ALL backups are RESULTS MISSING, along with this line:
Code:
driver: FATAL reading result from taper: Connection reset by peer


There appears to be a fix for this (patch to glib-util.c):
http://github.com/zmanda/amanda/commit/df2f92eb17e2cc1c90dd98163c7b8e51a3ef8d29
In the meantime, until this fix trickles down to Gentoo and into Portage, is there any danger to my systems in reverting back to glib-2.22.5?
Are other folks experiencing this problem too? Has anyone found other work-arounds?

TIA!
-GordP
Back to top
View user's profile Send private message
gordonp
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2005
Posts: 102

PostPosted: Wed Aug 04, 2010 8:25 pm    Post subject: Reply with quote

Tried this (reverting to glib-2.22.5):

Added this line to /etc/portage/package.mask, to "hide" the problematic current version of glib:
Code:
>dev-libs/glib-2.22.5


Running amcheck gave me this version-mismatch message:
Code:
amanda@hydra ~ $ amcheck Daily
Amanda Tape Server Host Check
-----------------------------
Holding disk /holding: 136052736 kB disk space available, using 10485760 kB as requested
amcheck-server: GLib version too old (micro mismatch): Amanda was compiled with glib-2.24.1

Amanda Backup Client Hosts Check
--------------------------------
Client check: 3 hosts checked in 32.057 seconds.  0 problems found.

(brought to you by Amanda 2.6.1p2)

Running revdep-rebuild did not flag anything. But, rebuilding amanda removed all warnings.

Tentatively, I think I can suggest a solution to others who encounter this problem:
1) mask and downgrade glib
2) recompile amanda

HTH!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum