Re: Slackware lxc template in Slackware 14.2

Eleksir via slackware <[email protected]> Fri, 7 Apr 2017 23:01:30 -0000
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
On Fri, April 7, 2017 22:22, Didier Spaier via slackware wrote:
> Le 08/04/2017 à 00:00, Eleksir via slackware a écrit :
>
>> Hello folks.
>>
>>
>> For sometime i'm setting up some pretty well amount of LXC containers
>> and stock slackware containers are unable to use slackpkg and namely
>> wget:
>>
>>
>> Downloading
>> http://ftp.slackware.com/pub/slackware/slackware-current/GPG-KEY...
>> wget: error while loading shared libraries: libunistring.so.0: cannot
>> open shared object file: No such file or directory Updating the package
>> lists... Downloading...
>> Downloading
>> http://ftp.slackware.com/pub/slackware/slackware-current/ChangeLog.txt..
>> .
>> wget: error while loading shared libraries: libunistring.so.0: cannot
>> open shared object file: No such file or directory grep:
>> /tmp/slackpkg.2ztlEa/ChangeLog.txt: No such file or directory
>>
>>
>> Error downloading from
>> http://ftp.slackware.com/pub/slackware/slackware-current/.
>> Please, check your mirror and try again.
>>
>>
>>
>>
>> Well, it's getting me nuts. 2 things: Slackware-Current instead of
>> stable (it is on stable host OS!) by default and unusable wget!
>>
>>
>> Actually, i can download libunistring-0.9.3-i486-1.txz from mirror and
>> put it to container using host os, then lxc-attach to container and
>> installpkg this package but i think that it should work out of the box,
>> am i wrong?
>
>
> Works here. Also I have modified the template to allow running
> unprivileged containers, see the attached patch (instructions for use on
> top of it) and this post:
>
> http://www.linuxquestions.org/questions/slackware-14/%5Brequest-for-comme
> nts%5D-do-we-still-need-cgmanager-4175599676/#post5681501
>
> Cheers,
> Didier
> _______________________________________________
> slackware mailing list [email protected]
> https://mailman.lug.org.uk/mailman/listinfo/slackware

same thing:
wget: error while loading shared libraries: libunistring.so.0: cannot open
shared object file: No such file or directory

P.S.
test scenario is not changed: slackware-14.2 host (x86) and default
slackware guest (x86), now installed guest becomes slackware-14.2,
but issue with libunistring persists - template _never_ installs
_libunistring_
in freshly installed guest:

root@s:/# ls /var/log/packages/|grep uni
root@s:/#

but on host:
root@atlas:/home/lxc/orc/rootfs/etc/init.d# ls /var/log/packages/|grep uni
libunibreak-1.1-i486-1_SBo
libunique-1.1.6-i486-4_SBo
libunistring-0.9.3-i486-1
rxvt-unicode-9.22-i486-2_SBo
tibmachuni-font-ttf-1.901b-noarch-1

Ta-da! here it is!

So, we need to go deeper.

-- 
WBR, Eleksir


_______________________________________________
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware