From eccdd13dd3c812b8f0b3d046ef9d8738df00562a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 25 Sep 2013 21:45:38 +0200 Subject: IRC. --- hurd/running/debian/dhcp.mdwn | 97 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 96 insertions(+), 1 deletion(-) (limited to 'hurd/running') diff --git a/hurd/running/debian/dhcp.mdwn b/hurd/running/debian/dhcp.mdwn index afa46799..849ff382 100644 --- a/hurd/running/debian/dhcp.mdwn +++ b/hurd/running/debian/dhcp.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2011, 2012 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2012, 2013 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 @@ -29,3 +30,97 @@ scripts, but has its own `/libexec/rc` script -- which integrates scripts from * [[!debbug 616290]] * [[Proper Hurdy DHCP support|hurd/translator/pfinet/dhcp]] + + * [[!message-id desc="dhclient aborting with a stack smashing error" + "874ngfvwn4.fsf@kepler.schwinge.homeip.net"]] + + IRC, freenode, #hurd, 2013-08-21: + + yay, I fixed the path of the dhcp leases file... + ... and now dhclient dies of a buffer overflow + fortunately the fix is rather simple, anyone who cares about + the security of his box just has to stop using isc software + the code is full of stuff like char foo[100]; /* surely + that's enough */ + note that our version of isc-dchp (the one in ports) is + older than the latest one available in unstable (which is still older + than the latest upstream releases) + so? + dunno, might have been fixed or not + ^^ yeah sure + A lot of software has these limitations and PATH_MAX, + MAXPATHLEN issues :( + having a limitation is not a problem per-se + no, only software written in c has these kind of problems + the problem is not checking whether the limits are hit + well, looking at the source of isc-dhcp my time is better + spent making another dhcp client work on hurd + also reading up on bug #616290 does make me want to avoid + touching it ever + hehe + teythoon: somebody was offering an alternative to the isc + dhcpclient, but I think it was rejected by Samuel? + why would he do that? + probably for compliance + He probably thought they would release a new version soon, is + 4.3.0 out yet? + well, as soon as my fixes for ifupdown go in, dhclient will + start crashing + no, there is no new version released + no major one that is + 4.2.5 is out + can't you just increase the buffer size, where is the problem + exactly? + I have no idea + The Hurd patches are not in 4.2.5, they were promised for + 4.3.0a1. + Still the buffer overflow problem might be present in 4.2.5 + if patched to build on Hurd. + there, darnassus now has a fully featured git/gitweb service + :) + btw, I managed to reproduce the crash reliably + rm /var/lib/dhcp/*; dhclient -v /dev/eth0 ... *boom* + ditch the -v, everything works, and now that there is a + lease file, you can add the -v again and it works + ew :) + and what has dhclient.c to say for its defense? + log_info("%s", ""); + hm, not much :/ + + IRC, freenode, #hurd, 2013-08-22: + + uh, the isc-dhcp situation is a huge pita, the source on + -ports does not compile anymore :/ + + IRC, freenode, #hurd, 2013-08-23: + + teythoon: Was it the slash in the network interface names + that caused the buffer overflow in dhclient? + gnu_srs: no, previously no dhcp leases file was written and + everything was fine + teythoon: did you really develop your patch against that old + version of ifupdown? + gnu_srs: now it is written, and for some reason dhclient + crashes *iff* -v is given *and* there is no previous lease file + pinotree: no, I did not. that was only reportbug including + information from my desktop machine without asking me + but when I first looked at ifupdown it was still a 6000 + lines noweb file >,< + that was fun + which version is it against? + hg tip + + IRC, freenode, #hurd, 2013-08-30: + + teythoon: I understand correctly that you found that + id:"874ngfvwn4.fsf@kepler.schwinge.homeip.net" in fact was really + "just" a buffer overflow in the dhclient code? + tschwinge: ah, most interesting, I didn't realize that you + stumbled across this as well + to be honest I don't know what's going on there, I only + observed what I wrote in my report + for me it started crashing once the lease file was actually + a valid path (i.e. not to a non-existing directory b/c of the slashes + in /dev/eth0) + I tried to rebuild the package served on debian-ports, but + that failed -- cgit v1.2.3 From e53c039152bdf699991d1c7b87cf9fd198b09591 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 26 Sep 2013 09:16:22 +0200 Subject: Remove empty page. This reverts commit ae0c78c9f3503c75a9de71464076a300d7e402ee. --- hurd/running/requirementsforlivecd.mdwn | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 hurd/running/requirementsforlivecd.mdwn (limited to 'hurd/running') diff --git a/hurd/running/requirementsforlivecd.mdwn b/hurd/running/requirementsforlivecd.mdwn deleted file mode 100644 index 858988d1..00000000 --- a/hurd/running/requirementsforlivecd.mdwn +++ /dev/null @@ -1,24 +0,0 @@ -[[!meta copyright="Copyright © 2013 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]]."]]"""]] - -HERE STARTS YOUR NEW CONTENT -- remove everything from here on, including this -line. - -By creating this page, you agree to assign copyright for your contribution to -the Free Software Foundation, . The Free Software -Foundation promises to always use a free documentation license (as per our -criteria of free documentation) when publishing your contribution. We grant -you back all your rights under copyright, including the rights to copy, modify, -and redistribute your contributions. - -We're requiring these copyright assignments, so that we'll easily be able to -include your contributions in official GNU documentation, such as the GNU Hurd -Reference Manual, etc. Send email to if there are -questions. -- cgit v1.2.3 From 944712a790e2f396d43e9ff533c0821a63b4c057 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 26 Sep 2013 12:04:08 +0200 Subject: hurd/running/openstack -> hurd/running/cloud. --- hurd/running.mdwn | 4 ++-- hurd/running/cloud.mdwn | 16 ++++++++++++++++ hurd/running/openstack.mdwn | 14 -------------- 3 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 hurd/running/cloud.mdwn delete mode 100644 hurd/running/openstack.mdwn (limited to 'hurd/running') diff --git a/hurd/running.mdwn b/hurd/running.mdwn index f0cb0809..b3caf21a 100644 --- a/hurd/running.mdwn +++ b/hurd/running.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007, 2008, 2009, 2011, 2012 Free Software +[[!meta copyright="Copyright © 2007, 2008, 2009, 2011, 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -17,7 +17,7 @@ There are several different ways to run a GNU/Hurd system: * [[microkernel/mach/gnumach/ports/Xen]] - In Xen * [[Live_CD]] * [[QEMU]] - In QEMU -* [[openstack]] - In openstack +* [[cloud]] - In the "cloud": OpenStack * [[chroots|chroot]] need a couple of tricks to work properly. * [[VirtualBox]] - In VirtualBox * [[vmware]] (**non-free!**) diff --git a/hurd/running/cloud.mdwn b/hurd/running/cloud.mdwn new file mode 100644 index 00000000..419f5600 --- /dev/null +++ b/hurd/running/cloud.mdwn @@ -0,0 +1,16 @@ +[[!meta copyright="Copyright © 2013 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]]."]]"""]] + +# OpenStack + +For the time being, you'll have to avoid using virtio +drivers, and use emulated hardware instead: + + $ glance image-create --property hw_disk_bus=ide --property hw_cdrom_bus=ide --property hw_vif_model=rtl8139 --disk-format raw --container-format bare --name gnu-hurd --copy-from http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img diff --git a/hurd/running/openstack.mdwn b/hurd/running/openstack.mdwn deleted file mode 100644 index af03583b..00000000 --- a/hurd/running/openstack.mdwn +++ /dev/null @@ -1,14 +0,0 @@ -[[!meta copyright="Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, -2013 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]]."]]"""]] - -One can tell openstack to avoid using virtio drivers, and use emulated hardware instead: - - glance image-create --property hw_disk_bus=ide --property hw_cdrom_bus=ide --property hw_vif_model=rtl8139 --disk-format raw --container-format bare --name gnu-hurd --copy-from http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img -- cgit v1.2.3 From 99f7a42c80813fcbec01277ceb13a82f7f4421c7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 26 Sep 2013 12:04:56 +0200 Subject: open_issues/virtio: New page, broken out of open_issues/dde. --- hurd/running/cloud.mdwn | 2 +- open_issues/dde.mdwn | 9 +-------- open_issues/virtio.mdwn | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 open_issues/virtio.mdwn (limited to 'hurd/running') diff --git a/hurd/running/cloud.mdwn b/hurd/running/cloud.mdwn index 419f5600..9b55cf44 100644 --- a/hurd/running/cloud.mdwn +++ b/hurd/running/cloud.mdwn @@ -10,7 +10,7 @@ License|/fdl]]."]]"""]] # OpenStack -For the time being, you'll have to avoid using virtio +[[For the time being|open_issues/virtio]], you'll have to avoid using virtio drivers, and use emulated hardware instead: $ glance image-create --property hw_disk_bus=ide --property hw_cdrom_bus=ide --property hw_vif_model=rtl8139 --disk-format raw --container-format bare --name gnu-hurd --copy-from http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img diff --git a/open_issues/dde.mdwn b/open_issues/dde.mdwn index 65d84886..0ff6f98c 100644 --- a/open_issues/dde.mdwn +++ b/open_issues/dde.mdwn @@ -590,11 +590,4 @@ In context of [[libpthread]]. partitions/media... -# virtio - - -## IRC, freenode, #hurd, 2012-07-01 - - hm, i haven't looked but, does someone know if virtio is included - in netdde ? - braunr: nope, there's an underlying virtio layer needed before +# [[virtio]] diff --git a/open_issues/virtio.mdwn b/open_issues/virtio.mdwn new file mode 100644 index 00000000..640ab611 --- /dev/null +++ b/open_issues/virtio.mdwn @@ -0,0 +1,21 @@ +[[!meta copyright="Copyright © 2010, 2011, 2012, 2013 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]]."]]"""]] + +[[!tag open_issue_hurd open_issue_gnumach]] + + +# IRC, freenode, #hurd, 2012-07-01 + +In context of [[DDE]]. + + hm, i haven't looked but, does someone know if virtio is included + in netdde ? + braunr: nope, there's an underlying virtio layer needed before -- cgit v1.2.3