Thank you Christian for answering my message
1. I said that clamav was the suspicious package but I cannot assure
this. The fact that clamav appears as the owner could be caused by
another package.

2. I have observed the same issue with Ubuntu 14.04.x, 16.04x, 18.04x in
different machines. I would think it is not a local problem because the
issue arised in different machines with different LTS versions of
Ubuntu. I only  install LTS releases of Ubuntu.

3. I will follow your suggestion of create a list of commands in a fresh
virtual machine. I let you know my findings.

Regards
Ramiro

On 4/1/19 5:41 AM, Christian Ehrhardt  wrote:
> Hi Ramiro, that would be a very severe bug.
> But let us find what actually happened in your case as I can not reproduce.
>
> $ apt install postgresql
> $ mkdir -p /dbERP/var/{lib,log,run}
> $ mkdir -p /dbERP/var/lib/postgresql/{11,9.6}
> $ sudo chown -R postgres:postgres /dbERP
>
> This shows all as expected:
> $ ls -laF /dbERP/{,*,var/lib/postgresql,var/lib/postgresql/*}
>
> After install of clamav nothing changed:
> $ apt install clamav
> $ ls -laF /dbERP/{,*,var/lib/postgresql,var/lib/postgresql/*}
>
> So I can't see what/why happened to you.
>
> Are by any chance the directories bind mounted to other places?
> What is the output of "mount"?
>
> Since you say it reproduces for you - could you create a list of
> steps/commands to run in a fresh VM or LXD container that will recreate
> the issue?
>

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

Title:
  Clamav, netdev and others changing owner, group

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

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

Reply via email to