99c61499be0840e993b9549d11a5d2decb25238e
[monkeysphere.git] / website / bugs / setup-subcommand-for-monkeysphere-server.mdwn
1 [[!meta title="proposed new monkeysphere-server subcommand: setup" ]]
2
3 What if everything that's done in the package post-installation
4 scripts (aside from maybe the creation of the monkeysphere user
5 itself) was done with a single call to something like
6
7     monkeysphere-server setup
8
9 This would make things more obvious to folks installing from source
10 directly, and put less maintenance load on porters.  The end of
11 `monkeysphere-server setup` could also invoke `monkeysphere-server
12 diagnostics` to get the admin pointed in the right direction.
13
14 Think of this as a sort of automated "Getting Started" documentation.
15
16 Of course, a hypothetical *full* setup command would do things like
17 `gen-key`, auto-modify `sshd_config`, etc.  We wouldn't want to do
18 those things automatically without the guiding hand of the local
19 sysadmin.
20
21 But perhaps we could even smooth that process with:
22
23     monkeysphere-server setup --full
24
25 I'd like to know what other folks think about these possibilities.
26 Would either of these be useful?  Are they confusing?  Could they be
27 clarified?
28
29 --dkg
30
31 ---
32
33 I'm not sure how I feel about this idea.  I feel like it should just
34 be the job of the package to setup the initial server environment.  I
35 don't really feel like the admin should have to worry about it.  But
36 then again, I can sort of see it from the point of view of someone
37 just installing from source (but who the hell really does that
38 anymore anyway?).
39
40 I'm also sort of mixed about the setup --full idea as well.  At first
41 I thought that it wasn't a good idea, and that I didn't like the idea
42 of monkeysphere monkeying around with the config files of other
43 packages (ie. ssh).  However, once I started to think about setting up
44 monkeysphere on lots of servers, I started to think that it's maybe a
45 good idea.  It might be good to have a single command that would just
46 end with the server being on the monkeysphere:
47
48   * generate the server key
49   * modify sshd to point to it
50   * restart ssh
51   * publish the key to the keyserver
52
53 So I'm starting to think that this might be a good idea.  Also curious
54 what other think.
55
56 -- jrollins