From owner-freebsd-fs Mon Dec 30 13:51:35 2002 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E309F37B401; Mon, 30 Dec 2002 13:51:32 -0800 (PST) Received: from smtp.inode.at (goliath.inode.at [195.58.161.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1119943EC2; Mon, 30 Dec 2002 13:51:32 -0800 (PST) (envelope-from mranner@inode.at) Received: from line-f-178.adsl-dynamic.inode.at ([62.99.193.178] helo=dwarf.jawa.at) by smtp.inode.at with esmtp (Exim 3.34 #1) id 18T7on-0001Om-00; Mon, 30 Dec 2002 22:51:30 +0100 Content-Type: text/plain; charset="us-ascii" From: Michael Ranner To: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: mount_portalfs broken in 5.0-RC2 Date: Mon, 30 Dec 2002 22:51:20 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200212302251.20720.mranner@inode.at> Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, as announced on freebsd-hackers a few days ago, I ported the rfilter/wfilter features of NetBSD's mount_portal to 4.7-p2. Because the port was very trivial and rfilter/wfilter worked well on 4.7-p2, I tried to merge the code in 5.0-RC2 mount_portalfs and discovered, that mount_portalfs did not work. First I thought this is a problem with the rfilter/wfilter code, but also the original mount_portalfs has this problem. Description: my portal.conf: tcp/ tcp tcp/ tcplisten/ tcplisten tcplisten/ fs/ file fs/ 1.) After mounting the portalfs, # cat /p/tcp/www.jawa.at/21 220 ftp.jawa.at FTP server (ftpd) ready. ^C portalfs hangs, and cat did not return on ^C or ^Z 2.) After mounting the portalfs, # cat /p/tcp or # cat /p/telnet or # cat /p/http portalfs hangs instead of expected "cat: /p/telnet: No such file or directory" Impact: - umount /p does not work - Further access to /p is not possible (e.x. ls) - FreeBSD could not unmount all file systems on reboot, so fsck has to run on next boot. Regards, /\/\ichael Ranner mranner@jawa.at - mranner@bitonline.cc - webmaster@mariazell.at ---------------------------------------------------------------------- JAWA Management Software GmbH - http://www.jawa.at/ Liebenauer Hauptstrasse 2oo - A-8041 Graz Tel +43 316 403274 21 - Fax +43 316 403274 10 ---------------------------------------------------------------------- Mariazell Online - http://www.mariazell.at/ ---------------------------------------------------------------------- -----BEGIN GEEK CODE BLOCK----- GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E--- W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-) t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y? ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message