[X2go-Dev] postinst-script x2goserver

Jochen Schulz schulz at math.uni-goettingen.de
Thu Jan 26 14:17:32 CET 2012


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.

	Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schulz.vcf
Type: text/x-vcard
Size: 348 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120126/7105deb0/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5005 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120126/7105deb0/attachment.bin>


More information about the x2go-dev mailing list