I'm unable to reproduce this here.

root@canonical-lxd:~# apt-get install lxd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  lxd-tools
The following NEW packages will be installed:
  lxd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,640 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package lxd.
(Reading database ... 313206 files and directories currently installed.)
Preparing to unpack .../lxd_2.0.0~rc8-0ubuntu3_amd64.deb ...
Unpacking lxd (2.0.0~rc8-0ubuntu3) ...
Processing triggers for systemd (229-3ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up lxd (2.0.0~rc8-0ubuntu3) ...

The default LXD bridge, lxdbr0, comes unconfigured by default.
Only limited HTTP connectivity through a PROXY will be available.
To configure a valid subnet, run: dpkg-reconfigure lxd

Processing triggers for systemd (229-3ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...


root@canonical-lxd:~# ls -lh /var/lib/lxd/unix.socket 
srw-rw---- 1 root lxd 0 Apr  6 19:20 /var/lib/lxd/unix.socket

root@canonical-lxd:~# lxd init
Name of the storage backend to use (dir or zfs): dir
Would you like LXD to be available over the network (yes/no)? no
Do you want to configure the LXD bridge (yes/no)? no
LXD has been successfully configured.

root@canonical-lxd:~# ls -lh /var/lib/lxd/unix.socket 
srw-rw---- 1 root lxd 0 Apr  6 19:20 /var/lib/lxd/unix.socket

root@canonical-lxd:~# lxd init
Name of the storage backend to use (dir or zfs): dir
Would you like LXD to be available over the network (yes/no)? no
Do you want to configure the LXD bridge (yes/no)? yes
Warning: Stopping lxd.service, but it can still be activated by:
  lxd.socket
LXD has been successfully configured.

root@canonical-lxd:~# ls -lh /var/lib/lxd/unix.socket 
srw-rw---- 1 root lxd 0 Apr  6 19:20 /var/lib/lxd/unix.socket

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566732

Title:
  lxd init creates socket with incorrect permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1566732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to