Re: FC3 PostgreSQL update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 18 December 2004 01:14, Troels Arvin <troels@xxxxxxxx> wrote:
> Due to a disk-space problem, my /var/lib/pgsql is a symlink to
> /mnt/hda1/pgsql

Sym-links interfere with SE Linux labelling.

If you were to run "restorecon -R /var/lib/pgsql/something" then it should 
work.

But the best thing to do is to just not do that.  This is one of the reasons 
why I often promove LVM.  LVM allows you to more effectively manage your 
storage without those sym-link hacks that cause so much trouble with SE Linux 
(and lots of other things too).  This isn't going to fix your current 
problem, but may help you next time.  LVM is really good anyway and is 
something you will benefit from a lot even if you don't use SE Linux.

> How come a PostgreSQL update breaks what used to work?

I don't know how it could have worked previously without PostgreSQL having 
search access to mnt_t.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux