Re: [lxc-users] LXD move container to another pool ?

2018-08-09 Thread Fajar A. Nugraha
On Thu, Aug 9, 2018 at 7:57 PM, Pierre Couderc wrote: > > On 08/09/2018 11:30 AM, Fajar A. Nugraha wrote: > > > Basically you'd just need to copy /var/lib/lxd and whatever storage > backend you use (I use zfs), and then copy them back later. Since I also > put /var/lib/lxd on zfs (this is a

Re: [lxc-users] LXC container and Systemd

2018-08-09 Thread Fajar A. Nugraha
On Thu, Aug 9, 2018 at 8:11 PM, Goran wrote: > I did as you told. What I can say is that the user/group directive are > the problem. > > With this config it works: > > Now we're getting somehwere :D > [Unit] > Description=Grafana service > After=network.target > > [Service] > # User=grafana

Re: [lxc-users] LXC container and Systemd

2018-08-09 Thread Goran
I did as you told. What I can say is that the user/group directive are the problem. With this config it works: [Unit] Description=Grafana service After=network.target [Service] # User=grafana # Group=grafana # WorkingDirectory=/usr/share/grafana # ExecStart=/usr/bin/grafana-server

Re: [lxc-users] LXC container and Systemd

2018-08-09 Thread Goran
I tried but no success. 2018-08-09 9:54 GMT+02:00 Andrey Repin : > Greetings, Goran! > >> I log into Arch Linux OS. Form there I attach to the container > >> # lxc-attach -n monitor > >> The container itself is hosting Arch Linux too. > > Try > lxc-attach -n monitor -- su -l > > > -- > With best

Re: [lxc-users] LXC container and Systemd

2018-08-09 Thread Fajar A. Nugraha
On Tue, Aug 7, 2018 at 11:13 PM, Goran wrote: > I'm starting Grafana on top of Arch Linux without problem. But when I > install Grafana into an Arch Linux LXC container on top of Arch Linux > OS I can't start it. > > The error is: > > systemd[24509]: grafana.service: Failed to determine user