diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2015-10-07 21:38:30 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2015-10-07 21:38:30 +0200 |
commit | b4c22bb08fa29f2747e3b77004821d2e9badb7e6 (patch) | |
tree | 66cf904cd6b93ffd1893a19a955ca01798373bdd | |
parent | 095af72d2c6cf6269d2b139634183e7e53033a54 (diff) | |
parent | a26cfb9c30ab60ca71d84f86d002b718f351efdc (diff) |
Merge commit 'a26cfb9c30ab60ca71d84f86d002b718f351efdc'
-rw-r--r-- | community/meetings.mdwn | 4 | ||||
-rw-r--r-- | community/meetings/debconf15.mdwn | 25 | ||||
-rw-r--r-- | contributing.mdwn | 1 | ||||
-rw-r--r-- | documentation.mdwn | 1 | ||||
-rw-r--r-- | hurd/ada4hurd.mdwn | 7 | ||||
-rw-r--r-- | hurd/documentation/netfs_ada_results.mdwn | 92 | ||||
-rw-r--r-- | hurd/running/virtualbox.mdwn | 4 | ||||
-rw-r--r-- | open_issues/glibc/static.mdwn | 34 | ||||
-rw-r--r-- | open_issues/problematic_packages.mdwn | 12 | ||||
-rw-r--r-- | public_hurd_boxen/installation/darnassus.mdwn | 157 |
10 files changed, 225 insertions, 112 deletions
diff --git a/community/meetings.mdwn b/community/meetings.mdwn index e136cbee..98ced949 100644 --- a/community/meetings.mdwn +++ b/community/meetings.mdwn @@ -13,11 +13,11 @@ License|/fdl]]."]]"""]] # Upcoming - * [[FOSDEM_2015]] - # Past + * [[DebConf15]] + * [[FOSDEM_2015]] * [[FOSDEM_2014]] * [[GNU Hackers Meeting, 2013, Paris|ghm2013]] * [[FOSDEM_2013]] diff --git a/community/meetings/debconf15.mdwn b/community/meetings/debconf15.mdwn new file mode 100644 index 00000000..f071b5d7 --- /dev/null +++ b/community/meetings/debconf15.mdwn @@ -0,0 +1,25 @@ +[[!meta copyright="Copyright © 2015 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="DebConf15"]] + +<http://debconf15.debconf.org/> + + * {{$youpi_hurd}} + + +[[!ymlfront data=""" + +youpi_hurd: + + "presentation (including video) by Samuel Thibault: [*Debian GNU/Hurd Status update*](https://summit.debconf.org/debconf15/meeting/298/debian-gnuhurd-status-update/) + ([slides](http://people.debian.org/~sthibault/hurd-i386/2015-08-17-debconf.pdf)|[video](http://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/Debian_GNUHurd_status_update.webm)|[transcript](https://people.debian.org/~sthibault/hurd-i386/2015-08-17-debconf.txt))" + +"""]] diff --git a/contributing.mdwn b/contributing.mdwn index 7740f682..21b258a3 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -114,6 +114,7 @@ lookups|hurd/interface/dir_lookup]] work. * Improve our [[FUSE library|hurd/libfuse]]. * Add a relatime or lazytime option to ext2fs. * Fix our [[open_issues/symlink_translator]]. +* Fix chmod on fifos: mkfifo foo ; sudo chmod g+w foo <a name="porting"></a> ## Porting Packages diff --git a/documentation.mdwn b/documentation.mdwn index f2c30737..b27ad8f3 100644 --- a/documentation.mdwn +++ b/documentation.mdwn @@ -87,6 +87,7 @@ from userlandish interfaces (Hurd) or from the micro kernel itself (Mach). ## 2015 * FOSDEM: {{$community/meetings/fosdem_2015#thibault_hurd}} + * Debconf 15: {{$community/meetings/debconf15#youpi_hurd}} ## 2014 diff --git a/hurd/ada4hurd.mdwn b/hurd/ada4hurd.mdwn index 784ad7fd..c783e53b 100644 --- a/hurd/ada4hurd.mdwn +++ b/hurd/ada4hurd.mdwn @@ -60,4 +60,9 @@ Ada4Hurd provides tools and examples to ease Ada development in Hurd. It is at a * Play with xmladafs - $ make trans_on
\ No newline at end of file + $ make trans_on + + * Run netfs tests + * In netfs\_base directory + + $ make trans\_dbg\_on
\ No newline at end of file diff --git a/hurd/documentation/netfs_ada_results.mdwn b/hurd/documentation/netfs_ada_results.mdwn index c7f48bc7..5033c169 100644 --- a/hurd/documentation/netfs_ada_results.mdwn +++ b/hurd/documentation/netfs_ada_results.mdwn @@ -183,3 +183,95 @@ is included in the section entitled ### ls node/path\ 2 * OK * needed to fix a missing update in the child node (because update was done only on get_dirents call) + +### cat node/path\ 2/leaf\ 1 + * NOK + * Call sequence + * Validate\_Stat + * Check\_Open\_Permissions + * Attempt\_Lookup + * Validate\_Stat + * Attempt\_Lookup + * Validate\_Stat + * Check\_Open\_Permissions + * Validate_Stat + * netfs\_implementation.adb:113 Netfs\_Implementation.Attempt\_Read + * need for attemp\_read implementation + +## Rev 3126bd9ce609 + + * Read is implemented + * next step : write + +### echo "elle souffle" > node/path\ 2/leaf\ 1 + * NOK + * command result - bash: node/path 2/leaf 1: Permission denied + * Call sequence + * Validate\_Stat + * Check\_Open\_Permissions + * Attempt_Lookup path 2 * Validate\_Stat + * Attempt\_Lookup leaf 1 * Validate\_Stat + * Validate_Stat + * Check\_Open\_Permissions - Check failed WRITE 1073741837 + +## Rev 242f59899045 + + * nore are xcreated with 0755 permission + +### echo "elle souffle" > node/path\ 2/leaf\ 1 + * NOK + * command result - bash: node/path 2/leaf 1: Operation not supported + * Call sequence + * Validate\_Stat + * Check\_Open\_Permissions + * Attempt_Lookup path 2 * Validate\_Stat + * Attempt\_Lookup leaf 1 * Validate\_Stat + * Validate_Stat + * Check\_Open\_Permissions + * netfs\_implementation.adb:366 Netfs\_Implementation.Attempt\_Set\_Size : not yet implemented + +## Rev dceb291aaf1c + + * Set_Size minimal implementation + +### echo "elle souffle" > node/path\ 2/leaf\ 1 + * NOK + * command result - bash: node/path 2/leaf 1: Operation not supported + * Call sequence + * Validate\_Stat + * Check\_Open\_Permissions + * Attempt_Lookup path 2 * Validate\_Stat + * Attempt\_Lookup leaf 1 * Validate\_Stat + * Validate_Stat + * Check\_Open\_Permissions + * Attempt\_Set\_Size + * netfs_implementation.adb:481 Netfs\_Implementation.Attemp\_Write + +## Rev 93311515a6c2 + + * Attempt_Write is implemented + +### echo "elle souffle" > node/path\ 2/leaf\ 1 + * OK + +## Rev 8395215263d3 + + * Test of mkdir + +### mkdir node/toto + + * NOK + * command result - mkdir: cannot create directory ‘node/toto’: Operation not supported + * Call sequence + * Validate\_Stat + * Check\_Open\_Permissions + * netfs_implementation.adb:421 Netfs_Implementation.Attempt_Mkdir + +## Rev 3425f5c837fb + + * mkdir implementation + +### mkdir node/toto + + * OK + * need to create leaf now : write to an inexistent file
\ No newline at end of file diff --git a/hurd/running/virtualbox.mdwn b/hurd/running/virtualbox.mdwn index 23a0b156..b48f7ebd 100644 --- a/hurd/running/virtualbox.mdwn +++ b/hurd/running/virtualbox.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2011, 2013 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2013, 2015 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 @@ -21,6 +22,7 @@ supported. The network controller should be configured as PCnet-PCI II or PCNet-FAST III for instance. INTEL PRO or Paravirtualized Network do not work. +Note: If your Hurd image freezes on startup with "start ext2fs: ext2fs: device:hd0s1: No such device or address", then you may need to manually edit the hard disk controller to be "IDE", because VirtualBox defaults to "SATA" which does not work. Go in to the "Storage" tab and check whether there is an entry for "Controller: SATA". If the SATA entry exists and the Hurd disk image is attached to it, delete the SATA controller and then add a new hard disk under "Controller: IDE". Restart the virtual machine. The hard disk should now be accessible via an IDE interface and Hurd should start successfully and reach the login prompt. (This is the case on VirtualBox 4.3.28 on Mac OS.) ## Converting from qemu image diff --git a/open_issues/glibc/static.mdwn b/open_issues/glibc/static.mdwn new file mode 100644 index 00000000..26076a5e --- /dev/null +++ b/open_issues/glibc/static.mdwn @@ -0,0 +1,34 @@ +[[!meta copyright="Copyright © 2015 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_glibc]] + +statically-linked executables don't work with i686 libc (which happens to be the default), from the 2015 glibc tarball: + + ../configure --prefix=/ --enable-add-ons=libpthread --enable-pt_chown --disable-nscd CFLAGS=-O2 + make lib + make -C ../mach objdir=$PWD subdir=mach ..=../ + make -C ../hurd objdir=$PWD subdir=hurd ..=../ + + # create a test.c + gcc test.c -o test.o -c + gcc test.o -o test -static -v + +the last command gives + + /usr/lib/gcc/i586-gnu/4.9/collect2 -plugin /usr/lib/gcc/i586-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i586-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccBtYgpy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/ --build-id -m elf_i386 --hash-style=gnu -static -o test /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crt0.o /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crti.o /usr/lib/gcc/i586-gnu/4.9/crtbeginT.o -L/usr/lib/gcc/i586-gnu/4.9 -L/usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu -L/usr/lib/gcc/i586-gnu/4.9/../../.. -L/lib/i386-gnu -L/usr/lib/i386-gnu test.o --start-group -lgcc -lgcc_eh -lc --end-group /usr/lib/gcc/i586-gnu/4.9/crtend.o /usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu/crtn.o + +thus using the following to statically link against the just-build glibc: + + BUILD=/path/to/glibc-2.19-hurd+libpthread-20150515/build /usr/lib/gcc/i586-gnu/4.9/collect2 -plugin /usr/lib/gcc/i586-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i586-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDjhjdt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lc --sysroot=/ --build-id -m elf_i386 --hash-style=gnu -static -o test $BUILD/csu/crt0.o $BUILD/csu/crti.o /usr/lib/gcc/i586-gnu/4.9/crtbeginT.o -L/usr/lib/gcc/i586-gnu/4.9 -L/usr/lib/gcc/i586-gnu/4.9/../../../i386-gnu -L/usr/lib/gcc/i586-gnu/4.9/../../.. -L/lib/i386-gnu -L/usr/lib/i386-gnu test.o --start-group -lgcc -lgcc_eh $BUILD/libc.a $BUILD/hurd/libhurduser.a $BUILD/mach/libmachuser.a --end-group /usr/lib/gcc/i586-gnu/4.9/crtend.o $BUILD/csu/crtn.o + +And then ./test gets killed early during libc initialization. + +Passing --host=i586-gnu --build=i586-gnu fixes the kill, so the issue is most probably in some i686-specific file. diff --git a/open_issues/problematic_packages.mdwn b/open_issues/problematic_packages.mdwn index d55dac8e..b4784e59 100644 --- a/open_issues/problematic_packages.mdwn +++ b/open_issues/problematic_packages.mdwn @@ -12,22 +12,18 @@ License|/fdl]]."]]"""]] [[!tag open_issue_gnumach open_issue_hurd]] -This page lists the few packages whose build makes the Debian buildd box crash as of 2014, November 1st: +This page lists the few packages whose build makes the Debian buildd box crash as of 2015, August: * Kill pfinet * [[nbd|hurd/libstore/nbd_store]] - * socklog + * rsyslog * Kill the session - * idzebra * ruby-hiredis * libxs -* Out of memory +* ext2fs gets stuck - * php-yac - * gnu-smalltalk - * globus-gram-job-manager - * mozjs24 + * emacs24 diff --git a/public_hurd_boxen/installation/darnassus.mdwn b/public_hurd_boxen/installation/darnassus.mdwn index 907be198..4a86f609 100644 --- a/public_hurd_boxen/installation/darnassus.mdwn +++ b/public_hurd_boxen/installation/darnassus.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2013, 2014 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2013, 2014, 2015 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,21 +14,41 @@ License|/fdl]]."]]"""]] # Packages - * apache2-mpm-prefork (used to be apache2-mpm-worker but changed because of some threading issues with CGI) + * apache2 - * ikiwiki libcgi-session-perl libtext-csv-perl libcgi-formbuilder-perl - libauthen-passphrase-perl libnet-openid-consumer-perl - libterm-readline-gnu-perl libgravatar-url-perl - librpc-xml-perl libtext-wikiformat-perl libhighlight-perl perlmagick - graphviz texinfo + Installation done by Richard. + + * ikiwiki + + Modified package, `ikiwiki_3.20140227_all.deb`, which contains some patch + (not yet in a suitable form for upstream) to get rendering of our news + pages correct (correct?). Thus, set the package to `hold` with `dpkg + --set-selections`. To avoid [garbled non-ascii characters in body in web + interface](https://ikiwiki.info/bugs/garbled_non-ascii_characters_in_body_in_web_interface/), + manually `patch /usr/share/perl5/IkiWiki/CGI.pm` with upstream commits + feb21ebfacb341fc34244e1c9b8557fd81d1dfc1, and + f35c6a97d1837a37879996211bd6f3c8eb356df9 ([[!debbug 776181]]). + + * libcgi-session-perl libtext-csv-perl libcgi-formbuilder-perl + libauthen-passphrase-perl libnet-openid-consumer-perl + libterm-readline-gnu-perl libgravatar-url-perl librpc-xml-perl + libtext-wikiformat-perl libhighlight-perl perlmagick graphviz texinfo * libemail-send-perl (for my *sendmail vs. ikiwiki* patch) + 2015-10-05: + + E: Package 'libemail-send-perl' has no installation candidate + + * <http://snapshot.debian.org/package/libreturn-value-perl/1.666004-1/#libreturn-value-perl_1.666004-1> + * <http://snapshot.debian.org/package/libemail-send-perl/2.199-1/#libemail-send-perl_2.199-1> + * libsearch-xapian-perl xapian-omega (for ikiwiki's search plugin) * libyaml-perl libyaml-syck-perl (for ikiwiki's YAML field plugins) - * libtext-markdown-perl (used instead of libtext-markdown-discount-perl) + * libtext-markdown-perl (used instead of libtext-markdown-discount-perl, + but the latter still needs to be installed) Make sure that liblwpx-paranoidagent-perl is not installed; OpenID logins with fail otherwise: *no_identity_server: Could not determine ID provider @@ -35,9 +56,11 @@ License|/fdl]]."]]"""]] actually occur. Nothing in the apache logs. Not fixed by the update to ikiwiki 3.20140227. - * gitweb highlight + * gitweb + + So one can view diffs of the wiki pages, etc. - sudo ln -s ~hurd-web/hurd-web.git /var/lib/git/ + $ sudo ln -s ~hurd-web/hurd-web.git /var/lib/git/ * git-daemon-sysvinit @@ -47,7 +70,29 @@ License|/fdl]]."]]"""]] # `~hurd-web/` +<http://darnassus.sceen.net/~hurd-web/>, and Git access: push to/pull from +`darnassus:~hurd-web/hurd-web.git`. + + +## Setup + $ mkdir hurd-web.git && GIT_DIR=hurd-web.git git init + [...] + +Configure the [`post-update` hook](http://ikiwiki.info/post-commit/): + + $ ln -is ../../public_html.workspace.update hurd-web.git/hooks/post-update + +For a full rebuild: + + $ ./public_html.workspace.generate\ wrappers --rebuild + +May want to clean up `~hurd-web/public_html.workspace/.ikiwiki/` before that. +/!\ But preserve the `userdb` file. + +As a user with appropriate permissions, then install the CGI file: + + $ sudo mv ~hurd-web/public_html.workspace.cgi /usr/lib/cgi-bin/hurd-web # `~tschwinge/` @@ -102,65 +147,10 @@ The goal is that robots rather index the official pages, <tschwinge> braunr: http://www.gnu.org/software/hurd/public_hurd_boxen.html <tschwinge> snubber <tschwinge> That was the web server. - <braunr> isn't it gnu.org ? <tschwinge> And flubber had the repository for developers to push to. - <tschwinge> No, gnu.org is updated manually (by me). - <braunr> ah - <tschwinge> It'S a snapshot of the wiki so to say. - <braunr> ok so, is this wiki really meant to be modifiable from a browser ? - <tschwinge> - http://www.gnu.org/software/hurd/contributing/web_pages.html#index5h2 - <tschwinge> Yes. - <braunr> i see - <tschwinge> I should still be able to access the data from Barry's zenhost - (including all the VMs it hosted), so I should be able to replicate that - quite easily. - <braunr> do you think it could be hosted on darnassus, or would you like a - separate vm ? <tschwinge> The repository for people to push to and pull from (used to be on flubber) would be on darnassus now. - <tschwinge> About the web server, hmm. - <tschwinge> It's basically a security concern. - <tschwinge> And it might get hammered by bots from time to time. - <braunr> it won't need much resources i suppose - <tschwinge> No. The web server (snubber) was running with 242 MiB of RAM, - and had uptimes of several weeks typically. - <braunr> tschwinge: otherwise, could it use the web server running on the - host ? - <tschwinge> The host being darnassus? - <braunr> no - <braunr> shattrath, the linux system - <tschwinge> Ah. - <tschwinge> Sure. - <tschwinge> There is no requirement this to be a Hurd system -- was just - nice to show to people. - <braunr> i think it is too - <braunr> what's the problem with darnassus ? - <braunr> yçou mentioned security - <tschwinge> The web server being a public-facing component which might be - broken into. - <braunr> how ? - <braunr> it's so much easier to just ask for an account .. :) - <tschwinge> Web server bugs, CGI script bugs, etc. - <tschwinge> Sure. - <tschwinge> I just wanted to make you aware of it. :-) - <braunr> oh don't worry - <braunr> ok so darnassus it is - <pinotree> was it running apache? maybe, if other (lighter?) web servers - are tested to work on hurd, they could be used - <tschwinge> pinotree: Yes, and yes. - <braunr> doesn't ikiwiki need php ? - <tschwinge> Only requirement (I think) is abaility to run CGI scripts. - <tschwinge> braunr: No. It's written in perl. - <braunr> ok - <braunr> i still think i'll use apache - <braunr> it's really not that heavy - <braunr> lighter servers matter when the number of concurrent clients get - very high - <tschwinge> Then I'll figure out how exactly the setup was between flubber - and snubber. - <braunr> ok - <braunr> it's good to finally get that going :) + <tschwinge> braunr: Of course ;-) -- I had some parts of the process documented: http://www.gnu.org/software/hurd/public_hurd_boxen/installation/snubber.html @@ -169,19 +159,7 @@ The goal is that robots rather index the official pages, <tschwinge> Still trying to figure out what I had done there... ;-) <tschwinge> OK, I again understand the setup. Last been touched in the 2008/2009 timeframe. ;-) - <braunr> :) - <tschwinge> braunr: Please use the following ikiwiki packages: dpkg -i - ~tschwinge/tmp/ikiwiki_3.20110608_all.deb - <braunr> what makes this package special ? - <tschwinge> Some patch that I added to get rendering of our news pages - correct. - <braunr> ok - <tschwinge> I have not updated it ever since (and the patch was not yet in - a suitable form for upstream). - <tschwinge> Nothing major. - <braunr> tschwinge: why is the ikiwiki package status hi ? - <tschwinge> braunr: I set it to hold. - <braunr> ah ok + <braunr> so you finished your pat i suppose <braunr> i'll install apache <braunr> part* @@ -226,24 +204,3 @@ The goal is that robots rather index the official pages, will render the pages accordingly. <tschwinge> OK. <braunr> and just named hurd-web - - -## IRC, freenode, #hurd, 2013-02-10 - - <tschwinge> http://darnassus.sceen.net/~hurd-web/ - <tschwinge> Have at it! - <tschwinge> braunr: ^ - <braunr> :) - <braunr> great - <tschwinge> And push to/pull from darnassus:~hurd-web/hurd-web.git for Git - access. - <tschwinge> Will update the web pages tomorrow, and all that. - <tschwinge> braunr: And also install gitweb on darnassus, so one can view - diffs of the wiki pages, etc. OK? - <braunr> tschwinge: there are still links towards bddebian - <braunr> history for example - <braunr> just fyi, we can look at this tomorrow - <tschwinge> braunr: Yes, that'S what I need gitweb for. - <tschwinge> braunr: gitweb installed, hurd-web URLs fixed - (s%bddebian%darnassus), also some more ikiwiki-related Perl pacakges - installed (openID login, for example). |