Hi Andreas,

> Now i have seen, that the new installer.pl script 
> makes at the end (after the mysql database creation) a chown to the 
> installation directory.
> So it has changed my permission to the mysql database directory.

It's nothing new, as far as I could go in our source repo, it always 
worked like that.

> 
> Was it a bad idea to install the mysql database in the pf directory?

Yes and no, we know we like to keep stuff in /var/lib/mysql/ since it's 
the standard and others don't look around for the database in emergency 
situations.

But it should not prevent you of doing what you think is fine.

> 
> Or is it possible to change the installer script, that only the 
> installed files/dir are changed?
> - Another simple solution is to print a notification in the installation 
> process.
> - Or make a notice in the Documentation section for the HA when it was a 
> good idea to include the mysql database in the pf directory.
> 
Problem is I don't even know why we set everything to be owned by pf:pf 
in that script and we don't let the RPM take care of it instead.. Part 
of it is because apache runs as user pf.

Also, on upgrade, you don't need to run installer.pl. That's another 
thing that is unclear.

I filed an issue in our tracker: #1038: Permission changing in installer.pl
http://www.packetfence.org/bugs/view.php?id=1038

Thanks for your report!
-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to