Comment 10 for bug 1791587

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

# Seems to work with snapd built from source, 7bb38874f3bc8bbcac951cd51055579fc2c54473

root@snaptest:~# ip route
default via 10.10.10.1 dev eth0 proto dhcp src 10.10.10.14 metric 100
10.10.10.0/24 dev eth0 proto kernel scope link src 10.10.10.14
10.10.10.1 dev eth0 proto dhcp scope link src 10.10.10.14 metric 100
10.208.111.0/24 dev lxdbr0 proto kernel scope link src 10.208.111.1 linkdown

root@snaptest:~# ip route del default

root@snaptest:~# dpkg -i parts/snapd/snapd_2.36_amd64.deb
Selecting previously unselected package snapd.
(Reading database ... 45059 files and directories currently installed.)
Preparing to unpack .../snapd/snapd_2.36_amd64.deb ...
Unpacking snapd (2.36) ...
Setting up snapd (2.36) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/system/snapd.autoimport.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.core-fixup.service → /lib/systemd/system/snapd.core-fixup.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.snap-repair.timer → /lib/systemd/system/snapd.snap-repair.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/system/final.target.wants/snapd.system-shutdown.service → /lib/systemd/system/snapd.system-shutdown.service.
snapd.failure.service is a disabled or a static unit, not starting it.
snapd.snap-repair.service is a disabled or a static unit, not starting it.

Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...

root@snaptest:~# snap version
snap 2.36+git439.g7bb3887
snapd 2.36+git439.g7bb3887
series 16
ubuntu 18.04
kernel 4.15.0-34-generic

root@snaptest:~# snap list
No snaps are installed yet. Try 'snap install hello-world'.

root@snaptest:~# snap set core proxy.http=http://10.10.10.30:3128 proxy.https=http://10.10.10.30:3128

root@snaptest:~# snap list
No snaps are installed yet. Try 'snap install hello-world'.

root@snaptest:~# snap install core
2018-11-09T06:27:39Z INFO Waiting for restart...
core 16-2.35.5 from Canonical✓ installed

/var/log/squid/access.log:

1541744717.062 378473 10.10.10.14 TCP_TUNNEL/200 141418518 CONNECT fastly.cdn.snapcraft.io:443 - HIER_DIRECT/151.101.2.217 -
1541744859.824 25487 10.10.10.14 TCP_TUNNEL/200 92285957 CONNECT fastly.cdn.snapcraft.io:443 - HIER_DIRECT/151.101.2.217 -
1541744859.824 31860 10.10.10.14 TCP_TUNNEL/200 16213 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.20 -
1541744859.824 31867 10.10.10.14 TCP_TUNNEL/200 5131 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.20 -
1541744859.824 25488 10.10.10.14 TCP_TUNNEL/200 6782 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.20 -
1541744859.824 30147 10.10.10.14 TCP_TUNNEL/200 348489 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.20 -
1541744859.824 26025 10.10.10.14 TCP_TUNNEL/200 5264 CONNECT api.snapcraft.io:443 - HIER_DIRECT/91.189.92.20 -