After last "snap refresh" problem with contents of /writable/system-data/etc/iproute2.

Luca Dionisi luca.dionisi at gmail.com
Fri Feb 17 14:30:27 UTC 2017


Hi all

I was in need to modify the file /etc/iproute2/rt_tables, but it was
read-only on previous versions of the "core" snap.
As a workaround, I was manually doing a bind-mount from the file
/writable/system-data/etc/iproute2/rt_tables to the location
/etc/iproute2/rt_tables.

When I did last "snap refresh" to my ubuntu core it seems to me that
there is now a permanent bind-mount from the directory
/writable/system-data/etc/iproute2 to the location /etc/iproute2.

But now I have only one file in /etc/iproute2.
  luca-dionisi at localhost:/etc/iproute2$ ls
  rt_tables

Is it normal or is it due to my previous workaround?
If so, what are my options to revert things?

--Luca




More information about the Snapcraft mailing list