Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Marc Weber
> The problems I'm facing is mainly the fact that the taskserver wants
> to create certificates and keys[1]. A follow-up problem will be the
> creating of users on the taskserver.
What about describing which kind of user(s) you mean? /etc/passwd ones?
See MySQL service for instance and ids.nix.

Certificates: Apache and similar have settings to tell it which
certificates to use. You want to look at similar services like
ssh/dovecot/... how it is done. I'm unsure.

There are two choices: Either use a pre startup script to create them
(eg mysqlinit or such gets used this way) - or allow user to set paths.

Usually its nice if things "just work" which means generating
certificates.

Eg mysql does not populate time zone info (mysql_tzinfo_to_sql /etc/zoneinfo/ | 
mysql)
should it be done? the MYSQL_TZ function requires it (otherwise it returns null)

If nobody has a strong opnion just be the maintainer and make a choice ?

Testing services see nixos/tests/* How to run? See nixos/release.nix or
release-combined. nix-build -A tests.firwall -f release.nix or such.
(I didn't run any test for a long time).

Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Matthias Beyer
On 17-11-2015 16:59:16, Marc Weber wrote:
> > The problems I'm facing is mainly the fact that the taskserver wants
> > to create certificates and keys[1]. A follow-up problem will be the
> > creating of users on the taskserver.
> What about describing which kind of user(s) you mean? /etc/passwd ones?

No, taskserver internal ones.

> Certificates: Apache and similar have settings to tell it which
> certificates to use. You want to look at similar services like
> ssh/dovecot/... how it is done. I'm unsure.
> 
> There are two choices: Either use a pre startup script to create them
> (eg mysqlinit or such gets used this way) - or allow user to set paths.
> 
> Usually its nice if things "just work" which means generating
> certificates.

That's what I'm aiming for.

> 
> Eg mysql does not populate time zone info (mysql_tzinfo_to_sql /etc/zoneinfo/ 
> | mysql)
> should it be done? the MYSQL_TZ function requires it (otherwise it returns 
> null)
> 
> If nobody has a strong opnion just be the maintainer and make a choice ?

What do you mean by that?

> 
> Testing services see nixos/tests/* How to run? See nixos/release.nix or
> release-combined. nix-build -A tests.firwall -f release.nix or such.
> (I didn't run any test for a long time).

Yeah, I know that already, though there is no documentation on how to
_write_ them properly!

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Jascha Geerds
The configuration of orgnisations, groups and users is not declarative,
so it will be hard to implement this part in NixOS. Best way would be to
write a short script which parses a yaml/json file and then "syncs" this
configuration with taskserver. Unfortunately, taskserver isn't good
documented and seems to be quite buggy to me (the whole "taskd" command
line). Did you play a bit with the "taskd" tool? It's not much fun :-(

-- 
  Jascha Geerds
  j...@ekby.de
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev