On Thu, Apr 28, 2016 at 07:24:23AM -0000, Martin Pitt wrote:
> Public bug reported:
> 
> It seems "lxc delete" does not remove log files in /var/log/lxd, so
> there's nothing that cleans them up and they pile up over time. I have
> no lxd containers defined on my laptop at the moment, but

In some cases it is useful to keep these around for debugging. I
wouldn't mind something that deleted day old logs for containers that
don't exist, though.

> $ ls  /var/log/lxd/|wc -l
> 286
> 
> ProblemType: Bug
> DistroRelease: Ubuntu 16.04
> Package: lxd 2.0.0-0ubuntu4
> ProcVersionSignature: Ubuntu 4.4.0-22.38-generic 4.4.8
> Uname: Linux 4.4.0-22-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2
> Architecture: amd64
> CurrentDesktop: i3
> Date: Thu Apr 28 09:20:17 2016
> EcryptfsInUse: Yes
> SourcePackage: lxd
> UpgradeStatus: No upgrade log present (probably fresh install)
> 
> ** Affects: lxd (Ubuntu)
>      Importance: Undecided
>          Status: New
> 
> 
> ** Tags: amd64 apport-bug xenial
> 
> -- 
> You received this bug notification because you are a member of Ubuntu
> containers team, which is subscribed to lxd in Ubuntu.
> Matching subscriptions: lxd
> https://bugs.launchpad.net/bugs/1576063
> 
> Title:
>   Please clean up log files on lxc delete
> 
> Status in lxd package in Ubuntu:
>   New
> 
> Bug description:
>   It seems "lxc delete" does not remove log files in /var/log/lxd, so
>   there's nothing that cleans them up and they pile up over time. I have
>   no lxd containers defined on my laptop at the moment, but
> 
>   $ ls  /var/log/lxd/|wc -l
>   286
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 16.04
>   Package: lxd 2.0.0-0ubuntu4
>   ProcVersionSignature: Ubuntu 4.4.0-22.38-generic 4.4.8
>   Uname: Linux 4.4.0-22-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2
>   Architecture: amd64
>   CurrentDesktop: i3
>   Date: Thu Apr 28 09:20:17 2016
>   EcryptfsInUse: Yes
>   SourcePackage: lxd
>   UpgradeStatus: No upgrade log present (probably fresh install)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1576063/+subscriptions

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

Title:
  Please clean up log files on lxc delete

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to