reassign 416464 postgresql-common 73 tag 416464 moreinfo thanks Hi Andreas,
Andreas Tille [2007-03-28 8:38 +0200]: > if you have aide installed you get output like > > added: /var/lib/postgresql/8.1/main/pg_subtrans/0060 > added: /var/lib/postgresql/8.1/main/pg_clog/0006 > added: /var/lib/postgresql/8.1/main/pg_xlog/0000000100000001000000DE > added: /var/lib/postgresql/8.1/main/pg_xlog/0000000100000001000000DF > added: /var/lib/postgresql/8.1/main/base/42991881/49056189 > added: /var/lib/postgresql/8.1/main/base/42991881/49056190 > added: /var/lib/postgresql/8.1/main/base/42991881/49056191 > > from aide which makes no sense because it is obvios that > /var/lib/postgresql/8.1/main will change. Thus it would make > sense to add a file > > /etc/aide/aide.conf.d/50_postgresql > > that contains > > !/var/lib/postgresql/8.1/main/ I do not know aide at all, but from looking at this I concur to Peter that it seems questionable to me to check /var/lib by default and then spread such global 'ignore /var' patterns across all the packages that use /var. Also, above rule would not really fit well. People might configure other clusters (such has having 7.4/transition, 8.1/main, 8.2/master and 8.2/slave), so I would not like to hardcode cluster and version names. OTOH, '!/var/lib/postgresql/' looks too blunt to me to be really useful, but that's just my gut feeling. So would '!/var/lib/postgresql/' still be useful at all? What about /var/log/postgresql? Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org
signature.asc
Description: Digital signature