Kernel Traffic
Latest | Archives | People | Topics
Latest | Archives | People | Topics
Home | News | RSS Feeds | Mailing Lists | Authors Info | Mirrors | Sleeping Cousins

Hurd Traffic #33 For 26 Jan 2000

By Zack Brown

Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?
Are you without a nice project and just dying to cut your teeth on an OS you can try to modify for your needs?
Are you finding it frustrating when everything works on minix? No more all-nighters to get a nifty program working?
Then this post might be just for you :-)
-- Linus Torvalds, 1991

Table Of Contents

Mailing List Stats For This Week

We looked at 67 posts in 193K.

There were 19 different contributors. 11 posted more than once. 10 posted last week too.

The top posters of the week were:


1. Porting libgc
10 Jan 2000 - 23 Jan 2000 (21 posts) Subject: "someone could port libgc"
Topics: Compiling Packages
People: Marcus BrinkmannDerek L DaviesChris LingardRoland McGrathJim Franklin

Marcus Brinkmann asked for a volunteer to port libgc, a C garbage collector. He added, "You could probably reuse part of the linux/i386 port, but I don't know. (libgc is required for stalin, an agressive scheme compiler)." Roland McGrath didn't think libgc would be very hard to port, and Marcus replied, "it is more than one or two lines to change and I don't have the time to look into it. It's also low priority for me."

At this point Chris Lingard came into the discussion, saying he had taken a preliminary stab at the code, and would do more unless someone else wanted it. He added that the C part seemed to compile, but the Java and C++ portions of the code were a different matter. He asked if javac or gjc were available, and asked for instructions. Marcus replied that Chris should coordinate with the upstream maintainer. He added, "I don't know what gcj is, have to check, but we will have kaffee someday sooner or later. I am not sure what you mean with "it has java", I will look into that later today. If it causes trouble, deactivating it until we are ready should be fine."

Derek L Davies explained, "I believe gcj compiles java directly to native machine code. Kaffe has a VM which is useful for Java and other things such as Kawa - Scheme on a Java VM. Seems to me there's merits to having both kaffe and gcj so, I think, porting both should be encouraged." Marcus pointed out in reply, "As long as it's Debian GNU/Hurd, everything that comes as a Debian package is considered."

Later, Jim Franklin gave a pointer to gcj, and Marcus pointed out that in Debian, gcj was part of gcc 2.95; he suggested looking into compiling that. Chris replied with some success at compiling 2.95.2, and then with libgc; he added that he'd send the patches to the upstream maintainer soon. Later he posted the patch, adding that the upstream maintainer had not replied to it yet.

Marcus offered, "There are some potential problems with your patch. It doesn't look to me like it would really work. I think it is a bit premature to send patches like this upstream when you have not been able to adequately test them."

Chris replied, "Yes, but at least the maintainer knows, (on previous packages I have been shouted at for this)." Roland clarified, "It is certainly important to feed back changes once they are working enough to be of use to anyone. But it's also best not to pester maintainers with nonworking ports that you will only be pestering them again soon to replace with working code."


2. List Of Packages Compiling Cleanly
17 Jan 2000 - 18 Jan 2000 (2 posts) Subject: "program list which run under hurd"
Topics: Compiling Packages
People: Daniel Wagner

Daniel Wagner posted a list of deb packages that seemed to compile and work under the Hurd. Marcus gave a link to, and offered his own list of packages that compiled cleanly under the Hurd.


3. Open SSH Available
18 Jan 2000 (1 post) Subject: "Open SSH available now!"
Topics: Compiling Packages
People: Marcus Brinkmann

Marcus gave a pointer to some preliminary packages of openssl and openssh, and explained:

You need to force install openssh, as it depends on libpam-modules and debconf, just ignore both (answer Y if it asks for debconf).

dpkg -i --force-depends ssh_1.2.1pre24-1_hurd-i386.deb

Of course, first install libssl.

libssl needed some configure work, I sent in a patch. openssh compiles almost out of the box, but has MAXPATHLEN and MAXHOSTNAMELEN issues, as well as packaging issues (depends on gnome libs).

There was no reply.


4. 'vim' 5.6 Available
20 Jan 2000 (1 post) Subject: "New Upload"
Topics: Compiling Packages
People: Brent Fulgham

Brent Fulgham announced that vim 5.6 was available in the archive. He added that folks should use the regular Vim-rt-5.6 for setup files, help, etc.; and added, "It's built against Ncurses5, moving us closer to our goal of removing libncurses4." There was no reply.


5. Eiffel Initial Success
21 Jan 2000 (1 post) Subject: "At Last! Eiffel on Hurd"
People: Brent Fulgham

Brent Fulgham announced, "Eiffel enthusiasts may breath a sigh of relief -- GNU SmallEiffel has been built on the Hurd and checked into the Debian archive... :-)" But he added, "It works for the simple tests I ran, but it has not been through heavy testing, so exercise caution if you build anything critical with it." There was no reply.


6. Security Exploit, Fix, And Misunderstanding
22 Jan 2000 (5 posts) Subject: "sush"
People: Roland McGrathNeal H Walfield

Neal H Walfield reported that running 'sush' would give any user root priviledges without requiring a password. He posted his exploit:

neal@hurd:~ $ whoami
neal@hurd:~ $ id
uid=1000(neal) gid=1000(neal) groups=1000(neal)
neal@hurd:~ $ ls -l /foo
ls: /foo: No such file or directory
neal@hurd:~ $ touch /foo
touch: /foo: Permission denied
neal@hurd:~ $ sush root
bash-2.03# whoami
bash-2.03# touch /foo
bash-2.03# exit
neal@hurd:~ $

Roland McGrath replied (cryptically, as it turned out), "This is fixed by a change I just checked in (see utils/ChangeLog in cvs). Thanks for the report."

Neal replied, "Sorry about that." Roland said, "Sorry about what? You reported the problem, so I fixed it, and now you can get the fix from the net yourself (with cvs) right away. That's just what we like to see!" Neal replied, "I inferred that you had already checked in a fix (ie days / weeks ago) and I was reporting an old problem."


7. 'cross-install' Dependency Problems
23 Jan 2000 (2 posts) Subject: "cross-install problems"
People: Marcus Brinkmann

Gerhard Poul reported the following error coming from 'cross-install':

cross-install: base/libgdbmg1 base/libncurses4 base/libnet-perl \
install.log: bash pre-depends on libncurses5
install.log: libncurses5 is not installed.
install.log: dpkg pre-depends on libncurses4 (>= 4.2-3.1)

He added that the libncurses4 package 'cross-install' complained about, didn't seem to be available on the FTP site. Marcus replied that libncurses4 had apparently been moved into the "oldlibs" section, without him hearing about it. he added, "The solution is to fix cross-install. I will hopefully come to it next week. We are currently in the flux between libncurses4 and libncurses5."







We Hope You Enjoy Hurd Traffic

Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License, version 2.0.