{"action":"created","issue":{"url":"https://api.github.com/repos/conjure-up/conjure-up/issues/770","repository_url":"https://api.github.com/repos/conjure-up/conjure-up","labels_url":"https://api.github.com/repos/conjure-up/conjure-up/issues/770/labels{/name}","comments_url":"https://api.github.com/repos/conjure-up/conjure-up/issues/770/comments","events_url":"https://api.github.com/repos/conjure-up/conjure-up/issues/770/events","html_url":"https://github.com/conjure-up/conjure-up/issues/770","id":217217561,"number":770,"title":"conjure-up breaks bsdtar (& possibly others) due to lib install hook","user":{"login":"josvazg","id":514554,"avatar_url":"https://avatars1.githubusercontent.com/u/514554?v=3","gravatar_id":"","url":"https://api.github.com/users/josvazg","html_url":"https://github.com/josvazg","followers_url":"https://api.github.com/users/josvazg/followers","following_url":"https://api.github.com/users/josvazg/following{/other_user}","gists_url":"https://api.github.com/users/josvazg/gists{/gist_id}","starred_url":"https://api.github.com/users/josvazg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josvazg/subscriptions","organizations_url":"https://api.github.com/users/josvazg/orgs","repos_url":"https://api.github.com/users/josvazg/repos","events_url":"https://api.github.com/users/josvazg/events{/privacy}","received_events_url":"https://api.github.com/users/josvazg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-27T11:35:45Z","updated_at":"2017-03-27T13:08:23Z","closed_at":null,"body":"conjure-up installs /etc/ld.so.conf.d/conjure-up.conf which points LD to:\r\n/snap/conjure-up/140/usr/lib/x86_64-linux-gnu/\r\n\r\nThis breaks tools like bsdtar that use different versions of libraries held there, like for instance libachive.so.13 in case of bsdtar.\r\n\r\nOne would expect a snap not to break the environment and tools outside of it.\r\n\r\nHow to reproduce:\r\n1. Install bsdtar with:\r\n  $ sudo apt install bsdtar\r\n2. Test it works:\r\n  $ bsdtar\r\n  bsdtar: Must specify one of -c, -r, -t, -u, -x\r\n\r\n3. Install conjure-up snap\r\n\r\n4. Test bsdtar fails:\r\n  $ bsdtar\r\n  bsdtar: symbol lookup error: bsdtar: undefined symbol: archive_read_add_passphrase\r\n\r\n5. Test that ld path to libarchive.so.13 has now 2 entries:\r\n  $ sudo ldconfig -p |grep libarchive\r\n   \tlibarchive.so.13 (libc6,x86-64) => /snap/conjure-up/140/usr/lib/x86_64-linux-gnu/libarchive.so.13\r\n\tlibarchive.so.13 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libarchive.so.13\r\n\r\nThis breaks things like vagrant, that depend on bsdtar from libarchive-tools\r\n"},"comment":{"url":"https://api.github.com/repos/conjure-up/conjure-up/issues/comments/289448012","html_url":"https://github.com/conjure-up/conjure-up/issues/770#issuecomment-289448012","issue_url":"https://api.github.com/repos/conjure-up/conjure-up/issues/770","id":289448012,"user":{"login":"battlemidget","id":51892,"avatar_url":"https://avatars3.githubusercontent.com/u/51892?v=3","gravatar_id":"","url":"https://api.github.com/users/battlemidget","html_url":"https://github.com/battlemidget","followers_url":"https://api.github.com/users/battlemidget/followers","following_url":"https://api.github.com/users/battlemidget/following{/other_user}","gists_url":"https://api.github.com/users/battlemidget/gists{/gist_id}","starred_url":"https://api.github.com/users/battlemidget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battlemidget/subscriptions","organizations_url":"https://api.github.com/users/battlemidget/orgs","repos_url":"https://api.github.com/users/battlemidget/repos","events_url":"https://api.github.com/users/battlemidget/events{/privacy}","received_events_url":"https://api.github.com/users/battlemidget/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T13:08:23Z","updated_at":"2017-03-27T13:08:23Z","body":"What's the output of \r\n\r\n`snap list` and `snap info conjure-up`"}}
{"actor":{"display_login":"battlemidget"}}