From 42f747f25354966a4ce5ac00d6938a8f36715b8a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 1 Jul 2009 19:18:58 +0200 Subject: public_hurd_boxen/bddebian: Begin page about bddebian infrastructure. --- public_hurd_boxen/bddebian.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 public_hurd_boxen/bddebian.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn new file mode 100644 index 00000000..fb2358ee --- /dev/null +++ b/public_hurd_boxen/bddebian.mdwn @@ -0,0 +1,18 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +# IP addresses + + * zenhost: 192.168.10.60 + * blubber: 192.168.10.61 + * flubber: 192.168.10.50 + * foobar: 192.168.10.62 + +At least anything in the .60 range can be used. -- cgit v1.2.3 From 08583f242a8c2fd5b8406d14e0198498f8c2c7fa Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 1 Jul 2009 19:25:53 +0200 Subject: public_hurd_boxen/zenhost: Begin a page about the zenhost dom0. --- public_hurd_boxen.mdwn | 8 ++++---- public_hurd_boxen/bddebian.mdwn | 2 +- public_hurd_boxen/zenhost.mdwn | 12 ++++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 public_hurd_boxen/zenhost.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index 0d7e1c7a..217a4ff2 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -13,13 +13,13 @@ Here are some Hurd boxes that users have made available to the public: [[!table class="table_style_1" data=""" "Hoster","Name","Distribution","Machine Specs","Comments" -"[[bddebian]]","blubber","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" +"[[bddebian]]","[[blubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" "[[bddebian]]","clubber","Debian GNU/Hurd","PIII 1 GHz; 384 MiB" -"[[bddebian]]","flubber","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on zenhost" -"[[bddebian]]","foobar","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" +"[[bddebian]]","[[flubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on zenhost" +"[[bddebian]]","[[foobar|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" "[[bddebian]]","gnubber","Debian GNU/Hurd","PII 733 MHz; 384 MiB" "[[bddebian]]","goober","Debian GNU/Hurd","?" -"[[bddebian]]","zenhost","Debian GNU/Linux","Celeron 2.2 GHz","Xen dom0 for several hosts" +"[[bddebian]]","[[zenhost]]","Debian GNU/Linux","Celeron 2.2 GHz","Xen dom0 for several hosts" """]] To request an account on the *[[bddebian]]* machines either contact diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn index fb2358ee..980cd894 100644 --- a/public_hurd_boxen/bddebian.mdwn +++ b/public_hurd_boxen/bddebian.mdwn @@ -10,7 +10,7 @@ License|/fdl]]."]]"""]] # IP addresses - * zenhost: 192.168.10.60 + * [[zenhost]]: 192.168.10.60 * blubber: 192.168.10.61 * flubber: 192.168.10.50 * foobar: 192.168.10.62 diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn new file mode 100644 index 00000000..732e18e8 --- /dev/null +++ b/public_hurd_boxen/zenhost.mdwn @@ -0,0 +1,12 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +*zenhost* is a Xen dom0 (hosted by [[bddebian]]) which is hosting several domUs +(see the table on [[public hurd boxen]] for a list). -- cgit v1.2.3 From 91f936897739d93aa9d1e10f3736f2a3f820cd71 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 1 Jul 2009 19:29:35 +0200 Subject: public_hurd_boxen/domu_console: How to deal with domU consoles. --- public_hurd_boxen/domu_console.mdwn | 29 +++++++++++++++++++++++++++++ public_hurd_boxen/zenhost.mdwn | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 public_hurd_boxen/domu_console.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn new file mode 100644 index 00000000..56f6ac9c --- /dev/null +++ b/public_hurd_boxen/domu_console.mdwn @@ -0,0 +1,29 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="domU console"]] + +To avoid any complications with people trying to use the same console at the +same time, please use this command for attaching to a domU's console: + + $ sudo screen -DRRS xen-console-[domU] xm console [domU] + +Otherwise, if one attaches to the same console twice, the second instance will +in fact forward input to the domU (possibly infering with what the person is +doing on the first instance), but the output won't be sent back to the second +instance. + +After having typed this once, Bash's `reverse-search-history` (`C-r`), followed +by typing in `console-flubber`, for example, will be enough to get access to +that machine's console. + +/!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set +properly when using `xm console`? This is relevant for everything using +`(n)curses` -- for interactive console applications. diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index 732e18e8..e5f42aab 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -10,3 +10,6 @@ License|/fdl]]."]]"""]] *zenhost* is a Xen dom0 (hosted by [[bddebian]]) which is hosting several domUs (see the table on [[public hurd boxen]] for a list). + + +[[!inline pages=public_hurd_boxen/domu_console feeds=no]] -- cgit v1.2.3 From 9fd7165a8f586fef8034f50adfc5fa09622f5976 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 7 Jul 2009 23:01:17 +0200 Subject: public_hurd_boxen/domu_console: Start the domU if it isn't running already. --- public_hurd_boxen/domu_console.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index 56f6ac9c..2f131e5a 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -11,9 +11,10 @@ License|/fdl]]."]]"""]] [[!meta title="domU console"]] To avoid any complications with people trying to use the same console at the -same time, please use this command for attaching to a domU's console: +same time, please use this command for attaching to a domU's console (this +command line will also start the domU in case that it isn't running already): - $ sudo screen -DRRS xen-console-[domU] xm console [domU] + $ sudo screen -DRRS xen-console-[domU] sh -c 'xm console [domU] || xm create -c [domU]' Otherwise, if one attaches to the same console twice, the second instance will in fact forward input to the domU (possibly infering with what the person is -- cgit v1.2.3 From 35ebee6dbd319b6f003a757abe6aacfcfd50e2b7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 7 Jul 2009 23:02:31 +0200 Subject: public_hurd_boxen/domu_console: About the COLUMNS and LINES environment variables. --- public_hurd_boxen/domu_console.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index 2f131e5a..02395e11 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -27,4 +27,5 @@ that machine's console. /!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set properly when using `xm console`? This is relevant for everything using -`(n)curses` -- for interactive console applications. +`(n)curses` -- for interactive console applications. Using `export COLUMNS=143 +LINES=44` does work, but is a manual process. -- cgit v1.2.3 From d948a9911bcec1dfd7e63d25bf71e08a9c134a3d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 10 Jul 2009 12:46:15 +0200 Subject: public_hurd_boxen: Add grubber. --- public_hurd_boxen.mdwn | 8 ++++++-- public_hurd_boxen/bddebian.mdwn | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index 217a4ff2..4d1a2d90 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -19,6 +19,7 @@ Here are some Hurd boxes that users have made available to the public: "[[bddebian]]","[[foobar|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" "[[bddebian]]","gnubber","Debian GNU/Hurd","PII 733 MHz; 384 MiB" "[[bddebian]]","goober","Debian GNU/Hurd","?" +"[[bddebian]]","[[grubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" "[[bddebian]]","[[zenhost]]","Debian GNU/Linux","Celeron 2.2 GHz","Xen dom0 for several hosts" """]] @@ -56,14 +57,17 @@ connecting from: HostName goober.bddebian.com Port 2255 + Host grubber.bddebian.com grubber + HostName foobar.bddebian.com + Host zenhost.bddebian.com zenhost HostName zenhost.bddebian.com Port 2260 - Host blubber.bddebian.com blubber foobar.bddebian.com foobar + Host blubber.bddebian.com blubber foobar.bddebian.com foobar grubber.bddebian.com grubber ProxyCommand ssh zenhost socat - TCP4:%h:%p - Host *.bddebian.com blubber clubber flubber foobar gnubber goober zenhost + Host *.bddebian.com blubber clubber flubber foobar gnubber goober grubber zenhost CheckHostIP no UserKnownHostsFile /dev/null StrictHostKeyChecking no diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn index 980cd894..7799220f 100644 --- a/public_hurd_boxen/bddebian.mdwn +++ b/public_hurd_boxen/bddebian.mdwn @@ -14,5 +14,6 @@ License|/fdl]]."]]"""]] * blubber: 192.168.10.61 * flubber: 192.168.10.50 * foobar: 192.168.10.62 + * grubber: 192.168.10.63 At least anything in the .60 range can be used. -- cgit v1.2.3 From f55e516c0b9ca0ea657467c2843bde0c0d302b64 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 3 Oct 2009 12:17:39 +0200 Subject: public_hurd_boxen/domu_console: Simplify console instructions. --- public_hurd_boxen/domu_console.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index 02395e11..d766fe06 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -14,7 +14,7 @@ To avoid any complications with people trying to use the same console at the same time, please use this command for attaching to a domU's console (this command line will also start the domU in case that it isn't running already): - $ sudo screen -DRRS xen-console-[domU] sh -c 'xm console [domU] || xm create -c [domU]' + $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" Otherwise, if one attaches to the same console twice, the second instance will in fact forward input to the domU (possibly infering with what the person is -- cgit v1.2.3 From 40688914dd0874cc27d22837234e3b7a342b9bd4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Oct 2009 14:34:53 +0200 Subject: public_hurd_boxen/domu_console: Tiny correction. --- public_hurd_boxen/domu_console.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn index d766fe06..bf171a41 100644 --- a/public_hurd_boxen/domu_console.mdwn +++ b/public_hurd_boxen/domu_console.mdwn @@ -22,7 +22,7 @@ doing on the first instance), but the output won't be sent back to the second instance. After having typed this once, Bash's `reverse-search-history` (`C-r`), followed -by typing in `console-flubber`, for example, will be enough to get access to +by typing in `host=flubber`, for example, will be enough to get access to that machine's console. /!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set -- cgit v1.2.3 From 7fb4f0a6349a99dcf248b9809ee9c6baf432ff57 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Oct 2009 14:37:29 +0200 Subject: public_hurd_boxen/domu_console -> public_hurd_boxen/xen_handling --- public_hurd_boxen/domu_console.mdwn | 31 ------------------------------- public_hurd_boxen/xen_handling.mdwn | 31 +++++++++++++++++++++++++++++++ public_hurd_boxen/zenhost.mdwn | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 public_hurd_boxen/domu_console.mdwn create mode 100644 public_hurd_boxen/xen_handling.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/domu_console.mdwn b/public_hurd_boxen/domu_console.mdwn deleted file mode 100644 index bf171a41..00000000 --- a/public_hurd_boxen/domu_console.mdwn +++ /dev/null @@ -1,31 +0,0 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="domU console"]] - -To avoid any complications with people trying to use the same console at the -same time, please use this command for attaching to a domU's console (this -command line will also start the domU in case that it isn't running already): - - $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" - -Otherwise, if one attaches to the same console twice, the second instance will -in fact forward input to the domU (possibly infering with what the person is -doing on the first instance), but the output won't be sent back to the second -instance. - -After having typed this once, Bash's `reverse-search-history` (`C-r`), followed -by typing in `host=flubber`, for example, will be enough to get access to -that machine's console. - -/!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set -properly when using `xm console`? This is relevant for everything using -`(n)curses` -- for interactive console applications. Using `export COLUMNS=143 -LINES=44` does work, but is a manual process. diff --git a/public_hurd_boxen/xen_handling.mdwn b/public_hurd_boxen/xen_handling.mdwn new file mode 100644 index 00000000..8407cd58 --- /dev/null +++ b/public_hurd_boxen/xen_handling.mdwn @@ -0,0 +1,31 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +# domU consoles + +To avoid any complications with people trying to use the same console at the +same time, please use this command for attaching to a domU's console (this +command line will also start the domU in case that it isn't running already): + + $ host=[domU] && sudo screen -DRRS console-$host sh -c "xm console $host || xm create -c $host" + +Otherwise, if one attaches to the same console twice, the second instance will +in fact forward input to the domU (possibly infering with what the person is +doing on the first instance), but the output won't be sent back to the second +instance. + +After having typed this once, Bash's `reverse-search-history` (`C-r`), followed +by typing in `host=flubber`, for example, will be enough to get access to +that machine's console. + +/!\ TODO: How does one get the environment variables `COLUMNS` and `LINES` set +properly when using `xm console`? This is relevant for everything using +`(n)curses` -- for interactive console applications. Using `export COLUMNS=143 +LINES=44` does work, but is a manual process. diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index e5f42aab..525f4e36 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -12,4 +12,4 @@ License|/fdl]]."]]"""]] (see the table on [[public hurd boxen]] for a list). -[[!inline pages=public_hurd_boxen/domu_console feeds=no]] +[[!inline pages=public_hurd_boxen/xen_handling feeds=no]] -- cgit v1.2.3 From 7795eaf0e452da24f7302c132fc6ca7f9460a0c7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Oct 2009 14:45:16 +0200 Subject: public_hurd_boxen/xen_handling: Some more Xen usage basics. --- public_hurd_boxen/xen_handling.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/xen_handling.mdwn b/public_hurd_boxen/xen_handling.mdwn index 8407cd58..e0874b37 100644 --- a/public_hurd_boxen/xen_handling.mdwn +++ b/public_hurd_boxen/xen_handling.mdwn @@ -8,6 +8,20 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] +# listing running domUs + + $ sudo xm list + + $ sudo xm top + +# handling running domUs + +Forcefully killing a domU (that has crashed or is busy-looping, etc.): + + $ sudo xm destroy [domU] + +As for (re-)starting a domU, read below in *domU consoles*. + # domU consoles To avoid any complications with people trying to use the same console at the -- cgit v1.2.3 From 79cdd566c5194a8ce0a21d3bbb72f9a7d25ea530 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Oct 2009 14:49:37 +0200 Subject: public_hurd_boxen/xen_handling: About ``xm shutdown''. --- public_hurd_boxen/xen_handling.mdwn | 4 ++++ tag/open_issue_xen.mdwn | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 tag/open_issue_xen.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/xen_handling.mdwn b/public_hurd_boxen/xen_handling.mdwn index e0874b37..47d92c43 100644 --- a/public_hurd_boxen/xen_handling.mdwn +++ b/public_hurd_boxen/xen_handling.mdwn @@ -22,6 +22,10 @@ Forcefully killing a domU (that has crashed or is busy-looping, etc.): As for (re-)starting a domU, read below in *domU consoles*. +Using `xm shutdown [domU]` to gracefully shut down a running domU does not yet +work -- this is not yet implemented in the [[Xen port of GNU +Mach|microkernel/mach/gnumach/ports/xen]] ([[!taglink open_issue_xen]]). + # domU consoles To avoid any complications with people trying to use the same console at the diff --git a/tag/open_issue_xen.mdwn b/tag/open_issue_xen.mdwn new file mode 100644 index 00000000..5ce9301c --- /dev/null +++ b/tag/open_issue_xen.mdwn @@ -0,0 +1,19 @@ +[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title=open_issue_xen]] + +[[!map pages="tagged(open_issue_xen) and !open_issues and !*/discussion" +show=title]] + +[[!inline +pages="tagged(open_issue_xen) and !open_issues and !*/discussion" +show=0 +feeds=no]] -- cgit v1.2.3 From 0807cb44ec4f5273dcba62a45387f5ce44bc2fa2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 10 Nov 2009 17:45:40 +0100 Subject: public_hurd_boxen/zenhost: Document how to run a installation. --- public_hurd_boxen/zenhost.mdwn | 105 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index 525f4e36..ddd8f090 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -13,3 +13,108 @@ License|/fdl]]."]]"""]] [[!inline pages=public_hurd_boxen/xen_handling feeds=no]] + + +# Installing + + * Log with screen (`C-a H`). + + * lvcreate ... + + * ~tschwinge/machines/MACHINE + + * ~tschwinge/install_system + + * MACHINE + + * /dev/zenhost/...-root + + * /etc/xen/MACHINE + + * xm create -c MACHINE + + * /install + + * If needed + + * cd /dev/ && ./MAKEDEV hd2 + + * settrans /media/data /hurd/ext2fs /dev/hd2 + + * rmdir /home && ln -s media/data/home / + + * syncfs -s; halt + + * Retore + + * /etc/fstab + + * /etc/{passwd,shadow,group,gshadow} + + * adduser ... sudo + + * /etc/ssh/ssh_host_*key* + + * xm create -c MACHINE + + * /install_packages + +## TODO + +### crosshurd + + I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... + tar: ./bin/sh: Cannot create symlink to `dash': File exists + tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists + tar: Exiting with failure status due to previous errors + +Ignore? + +### /install + + Unpacking debconf (from .../debconf_1.5.28_all.deb) ... + + debconf-set-selections + warning: Unknown type error, skipping line 7 + +Fix. + + Configuring dash + ---------------- + + The system shell is the default command interpreter for shell scripts. + + Using dash as the system shell will improve the system's overall performance. It + does not alter the shell presented to interactive users. + + Use dash as the default system shell (/bin/sh)? yes + +Automate. + + Configuring libpam-runtime + -------------------------- + + Pluggable Authentication Modules (PAM) determine how authentication, + authorization, and password changing are handled on the system, as well as + allowing configuration of additional actions to take when starting user + sessions. + + Some PAM module packages provide profiles that can be used to automatically + adjust the behavior of all PAM-using applications on the system. Please + indicate which of these behaviors you wish to enable. + + 1. Unix authentication + + (Enter the items you want to select, separated by spaces.) + + PAM profiles to enable: 1 + +Automate. + + +---------------------------Configuring grub-pc------------------------------+ + +Add grub*- somewhere. + + +---------------------ca-certificates configuration------------------------+ + | Trust new certificates from certificate authorities? | + +Used to be configured later -- move seeding forward. -- cgit v1.2.3 From 48c456f777a470ac10b2dfe621c6aee264841590 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 10 Nov 2009 18:03:06 +0100 Subject: public_hurd_boxen/zenhost: Change a few details. --- public_hurd_boxen/zenhost.mdwn | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index ddd8f090..8dae914e 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -17,7 +17,7 @@ License|/fdl]]."]]"""]] # Installing - * Log with screen (`C-a H`). + * Enable loggin with screen (`C-a H`). * lvcreate ... @@ -35,25 +35,30 @@ License|/fdl]]."]]"""]] * /install - * If needed + * If needed: * cd /dev/ && ./MAKEDEV hd2 - * settrans /media/data /hurd/ext2fs /dev/hd2 + * mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 * rmdir /home && ln -s media/data/home / - * syncfs -s; halt + * If needed: restore (parts of) some files + + * /etc/fstab - * Retore + * /etc/{passwd,shadow,group,gshadow} - * /etc/fstab + * adduser ... sudo - * /etc/{passwd,shadow,group,gshadow} + * passwd root - * adduser ... sudo + * /etc/ssh/ssh_host_*key* - * /etc/ssh/ssh_host_*key* + Can do this here or have to move after install_packages due to the + files being overwritten again (don't think so)? + + * syncfs -s; halt * xm create -c MACHINE -- cgit v1.2.3 From d5fa1505754178c910267426dcaff8278ae4a5a2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 28 Dec 2009 00:42:34 +0100 Subject: foobar.bddebian.com -> snubber.bddebian.com --- public_hurd_boxen.mdwn | 12 ++++++------ public_hurd_boxen/bddebian.mdwn | 4 +++- public_hurd_boxen/zenhost.mdwn | 31 ++++++++++++++++++++++++++++++- 3 files changed, 39 insertions(+), 8 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index a36737c5..e0512f25 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -16,7 +16,7 @@ Here are some Hurd boxes that users have made available to the public: "[[bddebian]]","[[blubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" "[[bddebian]]","clubber","Debian GNU/Hurd","PIII 1 GHz; 384 MiB" "[[bddebian]]","[[flubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on zenhost" -"[[bddebian]]","[[foobar|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" +"[[bddebian]]","[[snubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" "[[bddebian]]","gnubber","Debian GNU/Hurd","PII 733 MHz; 384 MiB" "[[bddebian]]","goober","Debian GNU/Hurd","?" "[[bddebian]]","[[grubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" @@ -46,9 +46,6 @@ connecting from: HostName flubber.bddebian.com Port 2250 - Host foobar.bddebian.com foobar - HostName foobar.bddebian.com - Host gnubber.bddebian.com gnubber HostName gnubber.bddebian.com Port 2254 @@ -60,14 +57,17 @@ connecting from: Host grubber.bddebian.com grubber HostName grubber.bddebian.com + Host snubber.bddebian.com snubber + HostName snubber.bddebian.com + Host zenhost.bddebian.com zenhost HostName zenhost.bddebian.com Port 2260 - Host blubber.bddebian.com blubber foobar.bddebian.com foobar grubber.bddebian.com grubber + Host blubber.bddebian.com blubber grubber.bddebian.com grubber snubber.bddebian.com snubber ProxyCommand ssh zenhost socat - TCP4:%h:%p - Host *.bddebian.com blubber clubber flubber foobar gnubber goober grubber zenhost + Host *.bddebian.com blubber clubber flubber gnubber goober grubber snubber zenhost CheckHostIP no UserKnownHostsFile /dev/null StrictHostKeyChecking no diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn index 7799220f..acefba46 100644 --- a/public_hurd_boxen/bddebian.mdwn +++ b/public_hurd_boxen/bddebian.mdwn @@ -13,7 +13,9 @@ License|/fdl]]."]]"""]] * [[zenhost]]: 192.168.10.60 * blubber: 192.168.10.61 * flubber: 192.168.10.50 - * foobar: 192.168.10.62 * grubber: 192.168.10.63 + * snubber: 192.168.10.62 At least anything in the .60 range can be used. + +Registered in zenhost's `/etc/hosts`. diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index 8dae914e..e13c49b1 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -23,7 +23,7 @@ License|/fdl]]."]]"""]] * ~tschwinge/machines/MACHINE - * ~tschwinge/install_system + * ~tschwinge/install_crosshurd * MACHINE @@ -39,10 +39,14 @@ License|/fdl]]."]]"""]] * cd /dev/ && ./MAKEDEV hd2 + * mkfs.ext2 -I 128 -b 4096 /dev/hd2 + * mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 * rmdir /home && ln -s media/data/home / + * mkdir /media/data/home + * If needed: restore (parts of) some files * /etc/fstab @@ -64,6 +68,8 @@ License|/fdl]]."]]"""]] * /install_packages + * add line to zenhost's `/etc/hosts` + ## TODO ### crosshurd @@ -123,3 +129,26 @@ Add grub*- somewhere. | Trust new certificates from certificate authorities? | Used to be configured later -- move seeding forward. + +--- + +# snubber + + * apache2-mpm-worker build-essential git-core gitweb ikiwiki inetutils-inetd + less libtext-csv-perl netcat nullmailer perlmagick screen texinfo + + * `find /etc/rc*/ | grep syslog | sudo xargs rm` + + * `~hurd-web/` + + * `mkdir hurd-web && GIT_DIR=hurd-web git init` + + * `~tschwinge/` + + * `mkdir tmp/backup && chmod 0733 tmp/backup` + + * restore backup + + * `/etc/apache2/mods-enabled/` + + * `rewrite.load`, `userdir.conf`, `userdir.load` -- cgit v1.2.3 From 1a9d7311d6e267598828ca9ad36a675b8ead8620 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 27 Feb 2010 13:53:14 +0100 Subject: public_hurd_boxen/flubber: New page to collect information about flubber. --- public_hurd_boxen.mdwn | 12 ++++++------ public_hurd_boxen/bddebian.mdwn | 4 ++-- public_hurd_boxen/flubber.mdwn | 20 ++++++++++++++++++++ 3 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 public_hurd_boxen/flubber.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index e0512f25..33d50f8f 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -1,5 +1,5 @@ -[[!meta copyright="Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, -Inc."]] +[[!meta copyright="Copyright © 2006, 2007, 2008, 2009, 2010 Free Software +Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -13,13 +13,13 @@ Here are some Hurd boxes that users have made available to the public: [[!table class="table_style_1" data=""" "Hoster","Name","Distribution","Machine Specs","Comments" -"[[bddebian]]","[[blubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" +"[[bddebian]]","blubber","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on [[zenhost]]; for experimental stuff" "[[bddebian]]","clubber","Debian GNU/Hurd","PIII 1 GHz; 384 MiB" -"[[bddebian]]","[[flubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on zenhost" -"[[bddebian]]","[[snubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on zenhost; web server" +"[[bddebian]]","[[flubber]]","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on [[zenhost]]" +"[[bddebian]]","snubber","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on [[zenhost]]; web server" "[[bddebian]]","gnubber","Debian GNU/Hurd","PII 733 MHz; 384 MiB" "[[bddebian]]","goober","Debian GNU/Hurd","?" -"[[bddebian]]","[[grubber|zenhost]]","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on zenhost; for experimental stuff" +"[[bddebian]]","grubber","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on [[zenhost]]; for experimental stuff" "[[bddebian]]","[[zenhost]]","Debian GNU/Linux","Celeron 2.2 GHz","Xen dom0 for several hosts" """]] diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn index acefba46..dfbd64e9 100644 --- a/public_hurd_boxen/bddebian.mdwn +++ b/public_hurd_boxen/bddebian.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2009, 2010 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -12,7 +12,7 @@ License|/fdl]]."]]"""]] * [[zenhost]]: 192.168.10.60 * blubber: 192.168.10.61 - * flubber: 192.168.10.50 + * [[flubber]]: 192.168.10.50 * grubber: 192.168.10.63 * snubber: 192.168.10.62 diff --git a/public_hurd_boxen/flubber.mdwn b/public_hurd_boxen/flubber.mdwn new file mode 100644 index 00000000..e09fd15a --- /dev/null +++ b/public_hurd_boxen/flubber.mdwn @@ -0,0 +1,20 @@ +[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +# `/etc/rc.local` + + [...] + # runit doesn't work yet... + LC_ALL=C date >> /var/log/git-daemon + git daemon --verbose --base-path=/var/cache /var/cache/git >> /var/log/git-daemon 2>&1 & + [...] + +Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` +package instead. -- cgit v1.2.3 From 31e50d2786c88548700b81f58c061b053bb4da20 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 1 Mar 2010 15:38:08 +0100 Subject: public_hurd_boxen/flubber: polipo. --- public_hurd_boxen/flubber.mdwn | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/flubber.mdwn b/public_hurd_boxen/flubber.mdwn index e09fd15a..219c2db9 100644 --- a/public_hurd_boxen/flubber.mdwn +++ b/public_hurd_boxen/flubber.mdwn @@ -8,7 +8,9 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -# `/etc/rc.local` +# *git-daemon* + +## `/etc/rc.local` [...] # runit doesn't work yet... @@ -18,3 +20,15 @@ License|/fdl]]."]]"""]] Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` package instead. + + +# *polipo* + + Starting polipo: /usr/lib/polipo/polipo-control: 145: /sbin/route: not found + polipo. + +## `/etc/rc.local` + + [...] + /usr/lib/polipo/polipo-control go-online + [...] -- cgit v1.2.3 From e47169f72b47195d5d31035be3b1398e95b544ce Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 1 Mar 2010 19:30:53 +0100 Subject: public_hurd_boxen/zenhost: Fixed some of the TODOs. Some other updates, too. --- public_hurd_boxen/zenhost.mdwn | 122 ++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 82 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index e13c49b1..812b9ef2 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2009, 2010 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -15,37 +15,56 @@ License|/fdl]]."]]"""]] [[!inline pages=public_hurd_boxen/xen_handling feeds=no]] -# Installing +# Installing a New Machine * Enable loggin with screen (`C-a H`). - * lvcreate ... + * \# lvcreate ... - * ~tschwinge/machines/MACHINE + * ~tschwinge/machines/[MACHINE] - * ~tschwinge/install_crosshurd + * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ~tschwinge/install_crosshurd - * MACHINE + * TODO - * /dev/zenhost/...-root + I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... + tar: ./bin/sh: Cannot create symlink to `dash': File exists + tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists + tar: Exiting with failure status due to previous errors - * /etc/xen/MACHINE + Ignore? -- + - * xm create -c MACHINE + * \# sudo umount /tmp/crosshurd.[MACHINE] + \# sudo rmdir /tmp/crosshurd.[MACHINE] - * /install + * /etc/xen/[MACHINE] - * If needed: + * \# xm create -c [MACHINE] + + * \# /install + + * TODO - * cd /dev/ && ./MAKEDEV hd2 + Unpacking debconf (from .../debconf_1.5.28_all.deb) ... + + debconf-set-selections + warning: Unknown type error, skipping line 9 - * mkfs.ext2 -I 128 -b 4096 /dev/hd2 + * TODO - * mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 + +---------------------------Configuring grub-pc------------------------------+ - * rmdir /home && ln -s media/data/home / + Make it not install GRUB packages. + + Likewise, the *gnumach* package need not be installed. + + * If needed: - * mkdir /media/data/home + \# cd /dev/ && ./MAKEDEV hd2 + \# mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! + \# mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 + \# rmdir /home && ln -s media/data/home / + \# mkdir /media/data/home * If needed: restore (parts of) some files @@ -53,84 +72,23 @@ License|/fdl]]."]]"""]] * /etc/{passwd,shadow,group,gshadow} - * adduser ... sudo + * \# adduser ... sudo - * passwd root + * \# passwd root * /etc/ssh/ssh_host_*key* Can do this here or have to move after install_packages due to the files being overwritten again (don't think so)? - * syncfs -s; halt + * \# syncfs -s && halt - * xm create -c MACHINE + * \# xm create -c [MACHINE] - * /install_packages + * \# /install_packages * add line to zenhost's `/etc/hosts` -## TODO - -### crosshurd - - I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... - tar: ./bin/sh: Cannot create symlink to `dash': File exists - tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists - tar: Exiting with failure status due to previous errors - -Ignore? - -### /install - - Unpacking debconf (from .../debconf_1.5.28_all.deb) ... - + debconf-set-selections - warning: Unknown type error, skipping line 7 - -Fix. - - Configuring dash - ---------------- - - The system shell is the default command interpreter for shell scripts. - - Using dash as the system shell will improve the system's overall performance. It - does not alter the shell presented to interactive users. - - Use dash as the default system shell (/bin/sh)? yes - -Automate. - - Configuring libpam-runtime - -------------------------- - - Pluggable Authentication Modules (PAM) determine how authentication, - authorization, and password changing are handled on the system, as well as - allowing configuration of additional actions to take when starting user - sessions. - - Some PAM module packages provide profiles that can be used to automatically - adjust the behavior of all PAM-using applications on the system. Please - indicate which of these behaviors you wish to enable. - - 1. Unix authentication - - (Enter the items you want to select, separated by spaces.) - - PAM profiles to enable: 1 - -Automate. - - +---------------------------Configuring grub-pc------------------------------+ - -Add grub*- somewhere. - - +---------------------ca-certificates configuration------------------------+ - | Trust new certificates from certificate authorities? | - -Used to be configured later -- move seeding forward. - ---- # snubber -- cgit v1.2.3 From 8f6e7b81b3da226a99748064032eaeff314dac44 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 3 Mar 2010 12:58:28 +0100 Subject: public_hurd_boxen/*: Reorganize a bit. --- public_hurd_boxen.mdwn | 2 +- public_hurd_boxen/bddebian.mdwn | 2 +- public_hurd_boxen/flubber.mdwn | 34 ---------- public_hurd_boxen/installation.mdwn | 89 ++++++++++++++++++++++++++ public_hurd_boxen/installation/flubber.mdwn | 34 ++++++++++ public_hurd_boxen/installation/snubber.mdwn | 33 ++++++++++ public_hurd_boxen/zenhost.mdwn | 96 +---------------------------- 7 files changed, 159 insertions(+), 131 deletions(-) delete mode 100644 public_hurd_boxen/flubber.mdwn create mode 100644 public_hurd_boxen/installation.mdwn create mode 100644 public_hurd_boxen/installation/flubber.mdwn create mode 100644 public_hurd_boxen/installation/snubber.mdwn (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index 33d50f8f..3bf8e85c 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -15,7 +15,7 @@ Here are some Hurd boxes that users have made available to the public: "Hoster","Name","Distribution","Machine Specs","Comments" "[[bddebian]]","blubber","Debian GNU/Hurd","Celeron 2.2 GHz; 222 MiB","Xen domU on [[zenhost]]; for experimental stuff" "[[bddebian]]","clubber","Debian GNU/Hurd","PIII 1 GHz; 384 MiB" -"[[bddebian]]","[[flubber]]","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on [[zenhost]]" +"[[bddebian]]","flubber","Debian GNU/Hurd","Celeron 2.2 GHz; 666 MiB","Xen domU on [[zenhost]]" "[[bddebian]]","snubber","Debian GNU/Hurd","Celeron 2.2 GHz; 160 MiB","Xen domU on [[zenhost]]; web server" "[[bddebian]]","gnubber","Debian GNU/Hurd","PII 733 MHz; 384 MiB" "[[bddebian]]","goober","Debian GNU/Hurd","?" diff --git a/public_hurd_boxen/bddebian.mdwn b/public_hurd_boxen/bddebian.mdwn index dfbd64e9..82fb0b8c 100644 --- a/public_hurd_boxen/bddebian.mdwn +++ b/public_hurd_boxen/bddebian.mdwn @@ -12,7 +12,7 @@ License|/fdl]]."]]"""]] * [[zenhost]]: 192.168.10.60 * blubber: 192.168.10.61 - * [[flubber]]: 192.168.10.50 + * flubber: 192.168.10.50 * grubber: 192.168.10.63 * snubber: 192.168.10.62 diff --git a/public_hurd_boxen/flubber.mdwn b/public_hurd_boxen/flubber.mdwn deleted file mode 100644 index 219c2db9..00000000 --- a/public_hurd_boxen/flubber.mdwn +++ /dev/null @@ -1,34 +0,0 @@ -[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] - -[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -# *git-daemon* - -## `/etc/rc.local` - - [...] - # runit doesn't work yet... - LC_ALL=C date >> /var/log/git-daemon - git daemon --verbose --base-path=/var/cache /var/cache/git >> /var/log/git-daemon 2>&1 & - [...] - -Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` -package instead. - - -# *polipo* - - Starting polipo: /usr/lib/polipo/polipo-control: 145: /sbin/route: not found - polipo. - -## `/etc/rc.local` - - [...] - /usr/lib/polipo/polipo-control go-online - [...] diff --git a/public_hurd_boxen/installation.mdwn b/public_hurd_boxen/installation.mdwn new file mode 100644 index 00000000..39db4717 --- /dev/null +++ b/public_hurd_boxen/installation.mdwn @@ -0,0 +1,89 @@ +[[!meta copyright="Copyright © 2009, 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +This page documents how installation of a new machine is being done on +[[zenhost]]. + + * Enable loggin with screen (`C-a H`). + + * \# lvcreate ... + + * ~tschwinge/machines/[MACHINE] + + * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ~tschwinge/install_crosshurd + + * TODO + + I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... + tar: ./bin/sh: Cannot create symlink to `dash': File exists + tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists + tar: Exiting with failure status due to previous errors + + Ignore? -- + + + * \# sudo umount /tmp/crosshurd.[MACHINE] + \# sudo rmdir /tmp/crosshurd.[MACHINE] + + * /etc/xen/[MACHINE] + + * \# xm create -c [MACHINE] + + * \# /install + + * TODO + + Unpacking debconf (from .../debconf_1.5.28_all.deb) ... + + debconf-set-selections + warning: Unknown type error, skipping line 9 + + * TODO + + +---------------------------Configuring grub-pc------------------------------+ + + Make it not install GRUB packages. + + Likewise, the *gnumach* package need not be installed. + + * If needed: + + \# cd /dev/ && ./MAKEDEV hd2 + \# mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! + \# mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 + \# rmdir /home && ln -s media/data/home / + \# mkdir /media/data/home + + * If needed: restore (parts of) some files + + * /etc/fstab + + * /etc/{passwd,shadow,group,gshadow} + + * \# adduser ... sudo + + * \# passwd root + + * /etc/ssh/ssh_host_*key* + + Can do this here or have to move after install_packages due to the + files being overwritten again (don't think so)? + + * \# syncfs -s && halt + + * \# xm create -c [MACHINE] + + * \# /install_packages + + * add line to zenhost's `/etc/hosts` + + * system-specific: + + * [[flubber]] + * [[snubber]] diff --git a/public_hurd_boxen/installation/flubber.mdwn b/public_hurd_boxen/installation/flubber.mdwn new file mode 100644 index 00000000..219c2db9 --- /dev/null +++ b/public_hurd_boxen/installation/flubber.mdwn @@ -0,0 +1,34 @@ +[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +# *git-daemon* + +## `/etc/rc.local` + + [...] + # runit doesn't work yet... + LC_ALL=C date >> /var/log/git-daemon + git daemon --verbose --base-path=/var/cache /var/cache/git >> /var/log/git-daemon 2>&1 & + [...] + +Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` +package instead. + + +# *polipo* + + Starting polipo: /usr/lib/polipo/polipo-control: 145: /sbin/route: not found + polipo. + +## `/etc/rc.local` + + [...] + /usr/lib/polipo/polipo-control go-online + [...] diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn new file mode 100644 index 00000000..703169a8 --- /dev/null +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -0,0 +1,33 @@ +[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +# Additional Packages + + apache2-mpm-worker build-essential git-core gitweb ikiwiki inetutils-inetd + less libtext-csv-perl netcat nullmailer perlmagick screen texinfo + + $ find /etc/rc*/ | grep syslog | sudo xargs rm + + +# `~hurd-web/` + + $ mkdir hurd-web && GIT_DIR=hurd-web git init + + +# `~tschwinge/` + + $ mkdir tmp/backup && chmod 0733 tmp/backup + + +# Restore Backup + +## `/etc/apache2/mods-enabled/` + +`rewrite.load`, `userdir.conf`, `userdir.load` diff --git a/public_hurd_boxen/zenhost.mdwn b/public_hurd_boxen/zenhost.mdwn index 812b9ef2..b828b8e9 100644 --- a/public_hurd_boxen/zenhost.mdwn +++ b/public_hurd_boxen/zenhost.mdwn @@ -15,98 +15,4 @@ License|/fdl]]."]]"""]] [[!inline pages=public_hurd_boxen/xen_handling feeds=no]] -# Installing a New Machine - - * Enable loggin with screen (`C-a H`). - - * \# lvcreate ... - - * ~tschwinge/machines/[MACHINE] - - * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ~tschwinge/install_crosshurd - - * TODO - - I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... - tar: ./bin/sh: Cannot create symlink to `dash': File exists - tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists - tar: Exiting with failure status due to previous errors - - Ignore? -- - - - * \# sudo umount /tmp/crosshurd.[MACHINE] - \# sudo rmdir /tmp/crosshurd.[MACHINE] - - * /etc/xen/[MACHINE] - - * \# xm create -c [MACHINE] - - * \# /install - - * TODO - - Unpacking debconf (from .../debconf_1.5.28_all.deb) ... - + debconf-set-selections - warning: Unknown type error, skipping line 9 - - * TODO - - +---------------------------Configuring grub-pc------------------------------+ - - Make it not install GRUB packages. - - Likewise, the *gnumach* package need not be installed. - - * If needed: - - \# cd /dev/ && ./MAKEDEV hd2 - \# mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! - \# mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 - \# rmdir /home && ln -s media/data/home / - \# mkdir /media/data/home - - * If needed: restore (parts of) some files - - * /etc/fstab - - * /etc/{passwd,shadow,group,gshadow} - - * \# adduser ... sudo - - * \# passwd root - - * /etc/ssh/ssh_host_*key* - - Can do this here or have to move after install_packages due to the - files being overwritten again (don't think so)? - - * \# syncfs -s && halt - - * \# xm create -c [MACHINE] - - * \# /install_packages - - * add line to zenhost's `/etc/hosts` - - -# snubber - - * apache2-mpm-worker build-essential git-core gitweb ikiwiki inetutils-inetd - less libtext-csv-perl netcat nullmailer perlmagick screen texinfo - - * `find /etc/rc*/ | grep syslog | sudo xargs rm` - - * `~hurd-web/` - - * `mkdir hurd-web && GIT_DIR=hurd-web git init` - - * `~tschwinge/` - - * `mkdir tmp/backup && chmod 0733 tmp/backup` - - * restore backup - - * `/etc/apache2/mods-enabled/` - - * `rewrite.load`, `userdir.conf`, `userdir.load` +# [[Installation of new machines|installation]] -- cgit v1.2.3 From bfbae422574a8bfd9df9d0051aa55fc7c58db33a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 4 Mar 2010 12:43:34 +0100 Subject: public_hurd_boxen/installation: Special handling for screen, and check /etc/hosts. --- public_hurd_boxen/installation.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation.mdwn b/public_hurd_boxen/installation.mdwn index 39db4717..90dbba6d 100644 --- a/public_hurd_boxen/installation.mdwn +++ b/public_hurd_boxen/installation.mdwn @@ -29,6 +29,8 @@ This page documents how installation of a new machine is being done on Ignore? -- + * Check that `/tmp/crosshurd.[MACHINE]/etc/hosts` has been created correctly. + * \# sudo umount /tmp/crosshurd.[MACHINE] \# sudo rmdir /tmp/crosshurd.[MACHINE] @@ -81,6 +83,12 @@ This page documents how installation of a new machine is being done on * \# /install_packages + * Until [[open_issues/screen]] is fixed: + + * Install `flubber:~tschwinge/screen_4.0.3-11_hurd-i386.deb` instead. + + * \# printf 'screen\thold\n' | dpkg --set-selections + * add line to zenhost's `/etc/hosts` * system-specific: -- cgit v1.2.3 From 74e5c6ca2755703aad8b209a92a7fee044825fdf Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 13 Mar 2010 15:12:33 +0100 Subject: Users can now publish anonymous read-only Git repositories from their home directories. --- contributing/web_pages.mdwn | 2 +- public_hurd_boxen/installation/flubber.mdwn | 4 +-- source_repositories.mdwn | 48 ++++++++++++++++++++++++----- 3 files changed, 44 insertions(+), 10 deletions(-) (limited to 'public_hurd_boxen') diff --git a/contributing/web_pages.mdwn b/contributing/web_pages.mdwn index a15e7e75..51ce873e 100644 --- a/contributing/web_pages.mdwn +++ b/contributing/web_pages.mdwn @@ -116,7 +116,7 @@ SSH configuration as advised on that page.) If you have an account on there: If you don't have such an account or don't have your login data handy, you can still get pages the read-only way. - $ git clone git://flubber.bddebian.com/git/hurd-web [dest] + $ git clone git://flubber.bddebian.com/~hurd-web/hurd-web [dest] If that also doesn't work out, you have yet another chance: pull over the HTTP protocol. Not very efficient (read: rather inefficient), but it works. This diff --git a/public_hurd_boxen/installation/flubber.mdwn b/public_hurd_boxen/installation/flubber.mdwn index 219c2db9..acf0fa68 100644 --- a/public_hurd_boxen/installation/flubber.mdwn +++ b/public_hurd_boxen/installation/flubber.mdwn @@ -8,14 +8,14 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -# *git-daemon* +# *git daemon* ## `/etc/rc.local` [...] # runit doesn't work yet... LC_ALL=C date >> /var/log/git-daemon - git daemon --verbose --base-path=/var/cache /var/cache/git >> /var/log/git-daemon 2>&1 & + git daemon --verbose --user-path >> /var/log/git-daemon 2>&1 & [...] Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` diff --git a/source_repositories.mdwn b/source_repositories.mdwn index 7bf2ca69..5789cf86 100644 --- a/source_repositories.mdwn +++ b/source_repositories.mdwn @@ -9,13 +9,17 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -Git repositories on Savannah: . +[[!toc levels=3]] + +# Git repositories on Savannah + + * [[glibc]] * [[incubator]] * ... -# Branches +## Branches Members of the [[Hurd Savannah group|rules/savannah group]] are allowed to create branches without formal permission: @@ -68,7 +72,7 @@ To give a concrete example, the latter one was created like this: $ ... $ git push master-unionmount -## Merging +### Merging Merging between Git branches is trivial, at least as long as no conflicts arise. @@ -92,11 +96,11 @@ It is explicitly encouraged to *merge* changes from working branches into the mainline branches (as opposed to *rebase* them on top), as the former mode easily allows to determine the context under which a patch has been developed. -# Tags +## Tags Equivalent rules apply. -# Behavior +## Behavior Try to not introduce spurious, unneeded changes, e.g., whitespace changes. @@ -107,7 +111,7 @@ written by ourselves, including new files, of course. GNU Mach code is largely based on external code. Don't GNU-ify it, as this would make merging external patches unnecessarily difficult. -## Commit messages +### Commit messages We no longer maintain parallel `ChangeLog` and commit messages. When needed, the `ChangeLog` files can be created automatically from the commit messages. @@ -147,7 +151,7 @@ debugging stuff that will be removed again before merging your development branch into the mainline. Sometimes the one-line summary might already suffice. But please do write something. -## Behavior on *private* branches +### Behavior on *private* branches Even though you are said to be the owner of branches tagged with your `SAVANNAH_LOGIN`, it is generally nevertheless good to not do history-rewriting @@ -158,3 +162,33 @@ We could establish a branch-tagging policy for branches that others should expect their history possibly to be rewritten. This may be useful for branches that are only meant for aggregating the changes of (several) development branches, like an imaginary `master-proposed_for_general_testing` branch. + + +# Git repositories on flubber + +[[flubber|public hurd boxen]] is +[[configured|public_hurd_boxen/installation/flubber]] in a way so that users +can publish Git repositories from their home directories. The only thing to do +is to put an empty `.git/git-daemon-export-ok` (cf. [*git daemon*'s manual +page](http://www.kernel.org/pub/software/scm/git/docs/git-daemon.html)) into +the repository, or just `git-daemon-export-ok` for +[*bare*](http://www.kernel.org/pub/software/scm/git/docs/git-init.html) +repositories. + +For example, the [[contributing/web pages]] repository is made available like +this: `~hurd-web/hurd-web` is a bare repository; there is an empty +`~hurd-web/hurd-web/git-daemon-export-ok` file. Users can clone the repository +like this: + + $ git clone git://flubber.bddebian.com/~hurd-web/hurd-web + +Another example, [[Thomas Schwinge|tschwinge]] has a checkout of +[[hurd/libpthread]] in `~tschwinge/tmp/hurd/libpthread/`, the +`~tschwinge/tmp/hurd/libpthread/.git/git-daemon-export-ok` file exists. If you +really need to, you can clone it like this: + + $ git clone git://flubber.bddebian.com/~tschwinge/tmp/hurd/libpthread + +## List of Interesting Repositories + + * web pages: git://flubber.bddebian.com/~hurd-web/hurd-web -- cgit v1.2.3 From 56f5e38bf9f7abfec049057a8cf4407dab925741 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 13 Mar 2010 17:23:15 +0100 Subject: public_hurd_boxen/installation/snubber: Need libemail-send-perl for my sendmail vs. ikiwiki patch. --- public_hurd_boxen/installation/snubber.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index 703169a8..f9542a9f 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -15,6 +15,10 @@ License|/fdl]]."]]"""]] $ find /etc/rc*/ | grep syslog | sudo xargs rm + Yet more: + + * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) + # `~hurd-web/` -- cgit v1.2.3 From be974ed77c96eda0d1391d95c56726e1844f1a9d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 24 Mar 2010 00:06:32 +0100 Subject: public_hurd_boxen/installation: install_crosshurd now in the incubator. --- public_hurd_boxen/installation.mdwn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation.mdwn b/public_hurd_boxen/installation.mdwn index 90dbba6d..ca74a4c6 100644 --- a/public_hurd_boxen/installation.mdwn +++ b/public_hurd_boxen/installation.mdwn @@ -11,13 +11,16 @@ License|/fdl]]."]]"""]] This page documents how installation of a new machine is being done on [[zenhost]]. +This method uses +*[install_crosshurd](http://git.savannah.gnu.org/cgit/hurd/incubator.git/log/?h=install_crosshurd)*. + * Enable loggin with screen (`C-a H`). * \# lvcreate ... - * ~tschwinge/machines/[MACHINE] + * machines/[MACHINE] - * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ~tschwinge/install_crosshurd + * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ./install_crosshurd * TODO @@ -29,10 +32,7 @@ This page documents how installation of a new machine is being done on Ignore? -- - * Check that `/tmp/crosshurd.[MACHINE]/etc/hosts` has been created correctly. - - * \# sudo umount /tmp/crosshurd.[MACHINE] - \# sudo rmdir /tmp/crosshurd.[MACHINE] + * \# sudo umount /tmp/*/target * /etc/xen/[MACHINE] -- cgit v1.2.3 From 04866256970d04ba76f9c94e2cc74fed025776a9 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 1 Apr 2010 10:34:24 +0200 Subject: public_hurd_boxen/installation/snubber: Talk about /var/www/robots.txt. --- public_hurd_boxen/installation/snubber.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index f9542a9f..dbbade9f 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -30,6 +30,24 @@ License|/fdl]]."]]"""]] $ mkdir tmp/backup && chmod 0733 tmp/backup +# `/var/www/robots.txt` + +This file used to contain: + + User-agent: * + Disallow: /gitweb/ + Disallow: /cgi-bin/ + +... which I've now changed to: + + User-agent: * + Disallow: / + +The goal is that robots rather index the official pages, +, instead of the staging area on +. + + # Restore Backup ## `/etc/apache2/mods-enabled/` -- cgit v1.2.3 From d8d99f57e8d9881c3e24abf0a357a17f945a894f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 10 Jun 2010 11:48:10 +0200 Subject: public_hurd_boxen/installation/flubber: polipo's online / offline issue is fixed. --- public_hurd_boxen/installation/flubber.mdwn | 9 --------- 1 file changed, 9 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/flubber.mdwn b/public_hurd_boxen/installation/flubber.mdwn index acf0fa68..66a01c3c 100644 --- a/public_hurd_boxen/installation/flubber.mdwn +++ b/public_hurd_boxen/installation/flubber.mdwn @@ -23,12 +23,3 @@ package instead. # *polipo* - - Starting polipo: /usr/lib/polipo/polipo-control: 145: /sbin/route: not found - polipo. - -## `/etc/rc.local` - - [...] - /usr/lib/polipo/polipo-control go-online - [...] -- cgit v1.2.3 From a9798b90296e8073c5ff60a978777826c58cae64 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 13 Jul 2010 20:04:50 +0200 Subject: public_hurd_boxen/installation: Consider FAI. --- public_hurd_boxen/installation.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation.mdwn b/public_hurd_boxen/installation.mdwn index ca74a4c6..67878f1a 100644 --- a/public_hurd_boxen/installation.mdwn +++ b/public_hurd_boxen/installation.mdwn @@ -14,6 +14,11 @@ This page documents how installation of a new machine is being done on This method uses *[install_crosshurd](http://git.savannah.gnu.org/cgit/hurd/incubator.git/log/?h=install_crosshurd)*. +Another option might be switching to +or a equivalent system. + +Steps for *install_crosshurd*: + * Enable loggin with screen (`C-a H`). * \# lvcreate ... -- cgit v1.2.3 From f94ec9fe506445a55c17c83360244cde784c9856 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 30 Jul 2010 14:54:24 +0200 Subject: open_issues/syslog: New. --- open_issues/syslog.mdwn | 7 +++++++ public_hurd_boxen/installation/snubber.mdwn | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 open_issues/syslog.mdwn (limited to 'public_hurd_boxen') diff --git a/open_issues/syslog.mdwn b/open_issues/syslog.mdwn new file mode 100644 index 00000000..778933a7 --- /dev/null +++ b/open_issues/syslog.mdwn @@ -0,0 +1,7 @@ +IRC, unknwon channel, unknown date. + + scolobb: In wiki edit 60accafa79f645ae61b578403f7fc0c11914b725 I see that you intend(ed) to use syslog for logging debug messages. I thought I'd point you to http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00042.html -- no idea if that's still an issue or what went wrong at that time. Perhaps you can have a look? + tschwinge: Thanks for information! Currently I'm logging some debug messages to a simple file, but I'll now check whether the issue you've pointed out is still present. + tschwinge: I am getting absolutely abnormal results: when I call syslog() from a simple C program for the first time, the message goes to the system log. However, any further calls to syslog() do just nothing... I am able to send something to syslog only after reboot (it doesn't help if I restart syslogd). + + diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index dbbade9f..2fd52d4f 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -13,11 +13,13 @@ License|/fdl]]."]]"""]] apache2-mpm-worker build-essential git-core gitweb ikiwiki inetutils-inetd less libtext-csv-perl netcat nullmailer perlmagick screen texinfo - $ find /etc/rc*/ | grep syslog | sudo xargs rm +Yet more: + + * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) - Yet more: +## [[open_issues/syslog]] - * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) + $ find /etc/rc*/ | grep syslog | sudo xargs rm # `~hurd-web/` -- cgit v1.2.3 From 72da59e38ec27a6247821b3afe36fb8417b5129a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 12 Aug 2010 09:38:07 +0200 Subject: public_hurd_boxen/installation/snubber: Use apache2-mpm-prefork instead of apache2-mpm-worker. --- public_hurd_boxen/installation/snubber.mdwn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index 2fd52d4f..957a73fb 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -10,7 +10,11 @@ License|/fdl]]."]]"""]] # Additional Packages - apache2-mpm-worker build-essential git-core gitweb ikiwiki inetutils-inetd +Before 2010-08-12, we've been using apache2-mpm-worker, but that brought +the system to its knees too often, leading to a un-syncable rootfs, etc. +Let's see how apache2-mpm-prefork behaves. + + apache2-mpm-prefork build-essential git-core gitweb ikiwiki inetutils-inetd less libtext-csv-perl netcat nullmailer perlmagick screen texinfo Yet more: -- cgit v1.2.3 From db4a5f7981c130a6ba9ba082040d8b65f6b0231c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 9 Sep 2010 13:46:22 +0200 Subject: public_hurd_boxen/installation/snubber: Document packages for search plugin. --- public_hurd_boxen/installation/snubber.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index 957a73fb..fa66866c 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -21,6 +21,9 @@ Yet more: * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) + * libsearch-xapian-perl xapian-omega (for ikiwiki's search plugin) + + ## [[open_issues/syslog]] $ find /etc/rc*/ | grep syslog | sudo xargs rm -- cgit v1.2.3 From ffd056fa35e2daafae4ce452147bde0667b263a7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 9 Sep 2010 15:00:50 +0200 Subject: public_hurd_boxen/installation/snubber: Package for YAML fields plugins. --- public_hurd_boxen/installation/snubber.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen/installation/snubber.mdwn b/public_hurd_boxen/installation/snubber.mdwn index fa66866c..68e0d619 100644 --- a/public_hurd_boxen/installation/snubber.mdwn +++ b/public_hurd_boxen/installation/snubber.mdwn @@ -23,6 +23,8 @@ Yet more: * libsearch-xapian-perl xapian-omega (for ikiwiki's search plugin) + * libyaml-perl (for ikiwiki's YAML field plugins) + ## [[open_issues/syslog]] -- cgit v1.2.3 From f09ab4755f65c808e0eebcd8decc9c57649eaca9 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sun, 10 Oct 2010 20:40:32 +0200 Subject: public_hurd_boxen/installation: Update w.r.t. flubber re-installation. --- public_hurd_boxen.mdwn | 5 ++ public_hurd_boxen/installation.mdwn | 76 +++++++++++++++++++---------- public_hurd_boxen/installation/flubber.mdwn | 36 ++++++++++++-- 3 files changed, 88 insertions(+), 29 deletions(-) (limited to 'public_hurd_boxen') diff --git a/public_hurd_boxen.mdwn b/public_hurd_boxen.mdwn index 3bf8e85c..b7c4549b 100644 --- a/public_hurd_boxen.mdwn +++ b/public_hurd_boxen.mdwn @@ -23,6 +23,11 @@ Here are some Hurd boxes that users have made available to the public: "[[bddebian]]","[[zenhost]]","Debian GNU/Linux","Celeron 2.2 GHz","Xen dom0 for several hosts" """]] +[[!template id=note text="""**flubber re-installed** + +As of 2010-10-10, flubber has been re-installed. Please tell us if there are +any missing packages, customizations, etc."""]] + To request an account on the *[[bddebian]]* machines either contact *bddebian* or *tschwinge* (other people might also be able to help) in [[IRC]] or send email to . Also use these contact diff --git a/public_hurd_boxen/installation.mdwn b/public_hurd_boxen/installation.mdwn index 67878f1a..4f612a83 100644 --- a/public_hurd_boxen/installation.mdwn +++ b/public_hurd_boxen/installation.mdwn @@ -27,16 +27,6 @@ Steps for *install_crosshurd*: * \# MACHINE=[MACHINE] TARGET=/dev/zenhost/[MACHINE]-root ./install_crosshurd - * TODO - - I: Extracting /var/cache/apt/archives/dash_0.5.5.1-3_hurd-i386.deb... - tar: ./bin/sh: Cannot create symlink to `dash': File exists - tar: ./usr/share/man/man1/sh.1.gz: Cannot create symlink to `dash.1.gz': File exists - tar: Exiting with failure status due to previous errors - - Ignore? -- - - * \# sudo umount /tmp/*/target * /etc/xen/[MACHINE] @@ -53,23 +43,62 @@ Steps for *install_crosshurd*: * TODO - +---------------------------Configuring grub-pc------------------------------+ + Unpacking bash (from .../bash_4.1-3_hurd-i386.deb) ... + The bash upgrade discovered that your /bin/sh link points to dash. + As bash for Debian is destined to provide a working /bin/sh (pointing to + /bin/bash) your link will be overwritten by a default link. - Make it not install GRUB packages. + If you don't want further upgrades to overwrite your customization, please + read /usr/share/doc/bash/README.Debian.gz for a more permanent solution. - Likewise, the *gnumach* package need not be installed. + [Press RETURN to continue] - * If needed: + That file doesn't say anything about it. - \# cd /dev/ && ./MAKEDEV hd2 - \# mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! - \# mkdir /media/data && settrans /media/data /hurd/ext2fs /dev/hd2 - \# rmdir /home && ln -s media/data/home / - \# mkdir /media/data/home + * TODO; related to the *debconf-set-selections* thing above - * If needed: restore (parts of) some files + Setting up libpam-runtime (1.1.1-6) ... + debconf: unable to initialize frontend: Dialog + debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.) + debconf: falling back to frontend: Readline + debconf: unable to initialize frontend: Readline + debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) + debconf: falling back to frontend: Teletype + Configuring libpam-runtime + -------------------------- + + Pluggable Authentication Modules (PAM) determine how authentication, + authorization, and password changing are handled on the system, as well as + allowing configuration of additional actions to take when starting user + sessions. + + Some PAM module packages provide profiles that can be used to automatically + adjust the behavior of all PAM-using applications on the system. Please + indicate which of these behaviors you wish to enable. + + 1. Unix authentication + + (Enter the items you want to select, separated by spaces.) - * /etc/fstab + PAM profiles to enable: + + * if it's a Xen domU: + + # sudo apt-get --purge install libc0.3-xen libc0.3-i686- + + * As needed: + + # mkfs.ext2 -I 128 -b 4096 /dev/hd2 # TAKE CARE! + # settrans /media/data /hurd/ext2fs /dev/hd2 + # mkdir /media/data/home + # rmdir /home && ln -s media/data/home / + + # mkfs.ext2 -I 128 -b 4096 /dev/hd3 # TAKE CARE! + # settrans /media/var /hurd/ext2fs /dev/hd3 + # mv /var /media/var/ + # ln -s media/var/var / + + * If needed: restore (parts of) some files * /etc/{passwd,shadow,group,gshadow} @@ -77,10 +106,7 @@ Steps for *install_crosshurd*: * \# passwd root - * /etc/ssh/ssh_host_*key* - - Can do this here or have to move after install_packages due to the - files being overwritten again (don't think so)? + * (`mkdir /etc/ssh`), restore `/etc/ssh/ssh_host_*key*` * \# syncfs -s && halt diff --git a/public_hurd_boxen/installation/flubber.mdwn b/public_hurd_boxen/installation/flubber.mdwn index 66a01c3c..5ef0d314 100644 --- a/public_hurd_boxen/installation/flubber.mdwn +++ b/public_hurd_boxen/installation/flubber.mdwn @@ -8,18 +8,46 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -# *git daemon* +# additional packages -## `/etc/rc.local` +ikiwiki + + +# SSH Daemon + +`/etc/ssh/sshd_config` + + Port 2250 + + +# Git Daemon + +`/etc/rc.local` - [...] # runit doesn't work yet... LC_ALL=C date >> /var/log/git-daemon git daemon --verbose --user-path >> /var/log/git-daemon 2>&1 & - [...] Should [[fix runit|open issues/runit]] and use Debian's `git-daemon-run` package instead. # *polipo* + +`/etc/polipo/config` + + # local begin + + # TODO: "::0" doesn't work, at least not with a a PF_INET6 translator. + proxyAddress = "0.0.0.0" + + # Size to which on-disk objects are truncated. + #diskCacheTruncateSize integer 1048576 + # Time after which on-disk objects are truncated. + #diskCacheTruncateTime time 4d12h + diskCacheTruncateTime = 50d + # Time after which on-disk objects are removed. + #diskCacheUnlinkTime = 32d + diskCacheUnlinkTime = 100d + + # local end -- cgit v1.2.3