diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-05-15 20:12:08 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-05-15 20:12:08 -0400 |
| commit | d3b49aa149ea8ac9052b5b3d2a048206a7293301 (patch) | |
| tree | d1fd7e951fe508a2f38b79796e8522d5c20ede4b /doc/forum/Work_on_OS_X | |
| parent | ba3bd76f4ade7ffeea3c1837f868f5264d284a8c (diff) | |
| parent | 8364547bf2b6a5e5184b2abc79938786d8efc55b (diff) | |
Merge branch 'master' into joeyconfig
Diffstat (limited to 'doc/forum/Work_on_OS_X')
4 files changed, 67 insertions, 0 deletions
diff --git a/doc/forum/Work_on_OS_X/comment_1_6d7d5b89f1de9604718f7973e4b3eeb1._comment b/doc/forum/Work_on_OS_X/comment_1_6d7d5b89f1de9604718f7973e4b3eeb1._comment new file mode 100644 index 00000000..4eac2063 --- /dev/null +++ b/doc/forum/Work_on_OS_X/comment_1_6d7d5b89f1de9604718f7973e4b3eeb1._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-04-13T21:36:20Z" + content=""" +I got a patch some years back to make propellor compile on OSX. +I merged it. You might want to get in touch with its author, as +he may be doing something with propellor on OSX. +<https://github.com/tittoassini/propellor> + +Anyway, I'd probably merge OSX patches, if they were not super +intrusive. And I don't see why it would be, as propellor already supports +FreeBSD. + +Since `Property` is parameterized by the operating systems it +supports, it should be easy to start by only porting the core parts +of propellor, and then port over individual Properties one by one as +needed. See the commits for the recent FreeBSD port for a nice walkthough +of the changes you'll want to make. +"""]] diff --git a/doc/forum/Work_on_OS_X/comment_2_00b20c240fc13bed6dc54e5b985b41e2._comment b/doc/forum/Work_on_OS_X/comment_2_00b20c240fc13bed6dc54e5b985b41e2._comment new file mode 100644 index 00000000..aa33c85b --- /dev/null +++ b/doc/forum/Work_on_OS_X/comment_2_00b20c240fc13bed6dc54e5b985b41e2._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joelmccracken" + avatar="http://cdn.libravatar.org/avatar/45175015b9eb3dd3f6c740b3fe920fed" + subject="comment 2" + date="2017-04-17T17:47:30Z" + content=""" +Sounds good. I contacted the person you linked to, have not heard back yet. + + + +The first issue I ran into is that propellor wants to connect to \"root@<hostname>\", and it doesn't look like this is configurable. +Would you accept a patch to make this configurable? + +Additionally, is this the best place to ask questions about what you would/would not accept? + +Thank you!!! +"""]] diff --git a/doc/forum/Work_on_OS_X/comment_3_294f4783522a8e4887793aac921ee546._comment b/doc/forum/Work_on_OS_X/comment_3_294f4783522a8e4887793aac921ee546._comment new file mode 100644 index 00000000..ed654d3f --- /dev/null +++ b/doc/forum/Work_on_OS_X/comment_3_294f4783522a8e4887793aac921ee546._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2017-04-18T00:08:13Z" + content=""" +Yes, this is the place. Or you can email me directly, but I prefer to keep +discussions public. + +`propellor --spin` needs a way to run commands as root on the remote host. +If ssh as root on OSX is not allowed, it would need a way to get to a user +who can get root, and it would be very annoying if a password needed to be +entered since each `propellor --spin` actually makes several ssh connections to +the remote host. Anything that works within these constraints would be ok. +"""]] diff --git a/doc/forum/Work_on_OS_X/comment_4_74b579d4d590432b6bd236ccb929cc11._comment b/doc/forum/Work_on_OS_X/comment_4_74b579d4d590432b6bd236ccb929cc11._comment new file mode 100644 index 00000000..d386c1b5 --- /dev/null +++ b/doc/forum/Work_on_OS_X/comment_4_74b579d4d590432b6bd236ccb929cc11._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joelmccracken" + avatar="http://cdn.libravatar.org/avatar/45175015b9eb3dd3f6c740b3fe920fed" + subject="comment 4" + date="2017-04-20T02:23:06Z" + content=""" +So, it turns out that yes, root is a thing on os x... but it is complicated. I'm going to put what I learned here because I think it will be useful, at least for telling folks how to use propellor on os x. + +1. Enable the root account. Steps are here: https://support.apple.com/en-us/HT204012 +2. password-authentication as root is disabled -- if you try to `ssh root@localhost`, it wont work. you need a key pair. +3. use su/sudo to install a public key (probably at `.ssh/id_rsa.pub`) to roots authorized_keys. adapted from: https://discussions.apple.com/thread/4078360?start=0&tstart=0 +4. copy the the pub file to authorized keys: `sudo cp /Users/joel/.ssh/id_rsa.pub /var/root/.ssh/authorized_keys` +5. you should now be able to `ssh root@localhost` without a password. + +I'm not super sure that this is even the best way forward, but lets get this working first, then we'll see. +"""]] |
