I was wondering, can i use snap in order to install some very old linux app's versions.
I was thinking of using a wheezy Virtual machine in order to build the snap's app, so then i can install it in stretch... is this possible??

thanks.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
stevepusser wrote:Examples?
Wheezy is still maintained and gets security updates, but any older and you will get abandoned library versions with known security holes, and that will happen to Wheezy in six months.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
can i install thoses ones in stretch by creating a snap?
bester69 wrote:stevepusser wrote:Examples?
Wheezy is still maintained and gets security updates, but any older and you will get abandoned library versions with known security holes, and that will happen to Wheezy in six months.
ok, My question, is .. can i install thoses ones in stretch by creating a snap?.. Imagine the scenario when an old app has been abandoned (i.e. an older one than wheezy) and you would like to use it. Snap make use of apparmor isolation, i think there are not big risks.
pcalvert wrote:You may be able to run a small Wheezy system on Stretch inside an LXC container. Just another potential way to solve the problem...
Phil
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
HuangLao wrote:just run wheezy in a VM or chroot and block all internet access to that VM or chroot. Lots of people run old OS's this way, even satellites etc...
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
bester69 wrote:HuangLao wrote:just run wheezy in a VM or chroot and block all internet access to that VM or chroot. Lots of people run old OS's this way, even satellites etc...
I cant use VM solution, I cant virtualize 64 bits systems....
I didnt know chroot was able to use it in that way, so i can install a wheezy system and then, run wheezy's apps from streetch by using chroot??. I have to test this!!. thanks.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
bester69 wrote:That sound interesting, I will take it a look, Is it easy to deploy?
pcalvert wrote:bester69 wrote:That sound interesting, I will take it a look, Is it easy to deploy?
Not really. Expect to read a bunch of documentation and/or tutorials to get everything working. Even so, I'm not sure how mature LXC is on Debian at present.
Phil
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
bester69 wrote:(sudo debootstrap --variant=minbase wheezy tt/ http://ftp.us.debian.org/debian )--> Minimal debian
~ $ machinectl --all --no-pager
MACHINE CLASS SERVICE OS VERSION ADDRESSES
.host host - arch - 192.168.1.69...
chroot container systemd-nspawn arch - -
2 machines listed.
~ $
export APP=$1
ruta=/media/jessie
sudo cp /home/myuser/scripts/linux_app.sh $ruta/
#Mount folders
echo /run /sys /proc /dev/pts /dev/shm /dev | xargs -n1 |sudo xargs -I{} umount $ruta/{}
sleep 5
echo /dev /dev/shm /dev/pts /proc /sys /run | xargs -n1 |sudo xargs -I{} mount -o bind {} $ruta/{}
#Launch Script in chroot
sudo chroot $ruta /linux_app.sh $APP
sleep 2
#Exit Umount
echo /run /sys /proc /dev/pts /dev/shm /dev | xargs -n1 |sudo xargs -I{} umount $ruta/{}
mount -t btrfs -o subvol=home /dev/sda2 /home
mount -t btrfs -o subvol=kodi /dev/sda8 /media/kodi
su myuser -c $1
sleep 5
su myuser -c "pkill -x $1"
sleep 2
su myuser -c "pkill -x $1 -9"
umount -a
su myuser -c "exit"
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
Users browsing this forum: No registered users and 8 guests