From owner-freebsd-hackers Thu Mar 16 17:16:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 3DB7837C220 for ; Thu, 16 Mar 2000 17:16:33 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-28.bellatlantic.net [151.198.135.28]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id UAA17793 for ; Thu, 16 Mar 2000 20:16:26 -0500 (EST) Message-ID: <38D18963.151086DC@bellatlantic.net> Date: Thu, 16 Mar 2000 20:24:51 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Why StarOffice continuously restarted setup - the answer Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, A while ago I tried to install StarOffice and had a problem that every time I tried to start it it went into setup again and again. I've asked about this in -hackers and found that some people had the same problem but nobody has a solution. Well, I've found that solution today and in case anyone else hits that problem, here it is: I'm using the July '99 4.0-SNAPSHOT and in that snapshot reading /proc/NNN/cmdline returns a line with '\n' on the end. StarOffice tried to open a file with that name (its own code) and, of course, failed. Removing that '\n' in procfs fixed the things. One more catch is that the StarOffice bin directory must be in the path, otherwise the same problem follows. Both of these problems seem to be already fixed in -current. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message