Public bug reported:
I have defined a partition whose mount point is /dbERP. I have stored
there PostgreSQL clusters with a structure similar to the main cluster
created automatically by PostgreSQL at installation time. This means I
have:
/dbERP <DIR> root root
/dbERP/var <DIR> root root
/dbERP/var/lib <DIR> root root
/dbERP/var/log <DIR> root syslog
/dbERP/var/run <DIR> root root
/dbERP/var/lib/postgresql <DIR> postgres postgres
/dbERP/var/lib/postgresql/9.6 <DIR> postgres postgres
/dbERP/var/lib/postgresql/11 <DIR> postgres postgres
etc
I observed the problem that I am going to describe in Ubuntu 14.04.x, 16.04.x,
18.04.x.
I have observed that after installing some packages, I do not know if all of
them, but pretty sure "clamav", the owner and group of all directories and
files in the dbERP partition changed. For instance:
Before installing clamav: /dbERP/var/lib/postgresql <DIR> postgres postgres
After installing clamav: /dbERP/var/lib/postgresql <DIR> clamav 132
Before installing nettools: /dbERP/var/log <DIR> root syslog
After installing nettools: /dbERP/var/log <DIR> root netdev
Prior install clamav: /dbERP/var/log/postgresql/postgresql-9.log postgres adm
After install clamav: /dbERP/var/log/postgresql/postgresql-9.log clamav adm
This behaviour disrupted completely the PostgreSQL operation. I have
observed this problem in PostgreSQL versions 9.6x, 10.x, 11.x. It is not
of course a fault of PostgreSQL, it is a fault of "clamav" or the
operating system which allow touching a folder, /dbERP which does not
belong to the OS.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: clamav 0.100.2+dfsg-1ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.18.0-15.16~18.04.1-generic 4.18.20
Uname: Linux 4.18.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 28 19:04:01 2019
InstallationDate: Installed on 2019-02-21 (35 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: clamav
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: clamav (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
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