Hi I would like to change the subuids used by LXD. In oder to do that I have changed the entry in /etc/subuid and /etc/subgid but new containers kept the former uid space. Even after deleting all container and all images new containers keep getting the old uid range.
I have found that the uid range is in /var/lib/lxd/lxd.db : root@andel2:~# grep -rs 265536 /var/lib/lxd/ Binary file /var/lib/lxd/lxd.db matches But looking at the file with sqlite3 seems to show an utterly empty db: root@andel2:~# sqlite3 /var/lib/lxd/lxd.db SQLite version 3.8.11.1 2015-07-29 20:00:57 Enter ".help" for usage hints. sqlite> .tables certificates images_aliases config images_properties containers profiles containers_config profiles_config containers_devices profiles_devices containers_devices_config profiles_devices_config containers_profiles schema images sqlite> select * from config; sqlite> select * from profiles; 1|default sqlite> select * from schema; 1|20|1452174199 2|21|1453375824 sqlite> select * from containers; sqlite> select * from containers_config; sqlite> select * from images; sqlite> select * from images_properties; sqlite> select * from profiles_config; sqlite> .exit Where and how can I change the uid/gid range without completely reinstalling? Thanks!
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
