[X2go-Dev] postinst-script x2goserver
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Thu Jan 26 14:53:31 CET 2012
Hi Jochen,
On Do 26 Jan 2012 14:17:32 CET Jochen Schulz wrote:
> Hi!
>
> the postinstallation script for the x2goserver (ubuntu) has the
> following problem:
>
> it checks if /var/lib/x2go/x2go_sessions exists, and if not, calls
> x2godbadmin --createdb. This is not good, because it sometimes breaks
> upgrades of the package when using a remote postgresql: The postgresdb
> is configured and accessible but there is no /var/lib/x2go/x2go_sessions
> because it isn't needed. Then when you upgrade, it calls x2godbadmin
> --createdb and overwrites the remote postgres-sql-db..
> I think it should test if postgres is used, and if so, should never do
> anything on its own with the db. Users who use the postgres-db anyhow
> know what they are doing and could do some steps more.
I have created a patch from your idea and committed it to X2Go Git:
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=0c93005f85ed13e74d362e4dc7febff47ad59e81
Test Packages (nightly builds for Debian) are currently building. They
should be available in 20-30 minutes, please test if you may!?!
Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120126/7046dd64/attachment.pgp>
More information about the x2go-dev
mailing list