From owner-freebsd-current@FreeBSD.ORG Fri Jan 21 22:27:12 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED09716A4CE for ; Fri, 21 Jan 2005 22:27:12 +0000 (GMT) Received: from osi2.gua.net (osi2.gua.net [205.161.188.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3852643D4C for ; Fri, 21 Jan 2005 22:27:12 +0000 (GMT) (envelope-from kuuse@redantigua.com) Received: (qmail 89132 invoked by uid 89); 21 Jan 2005 22:27:11 -0000 Received: from kuuse@redantigua.com by osi2 by uid 89 with qmail-scanner-1.20 ( Clear:RC:0(168.234.207.100):. Processed in 0.198617 secs); 21 Jan 2005 22:27:11 -0000 Received: from unknown (HELO qc.gua.net) (kuuse@osint.net@168.234.207.100) by 0 with SMTP; 21 Jan 2005 22:27:11 -0000 From: Johan Kuuse Organization: Red Antigua To: freebsd-current@freebsd.org Date: Fri, 21 Jan 2005 16:27:05 -0600 User-Agent: KMail/1.7.2 References: <20050121220954.804F662DF@bart.motd.dk> In-Reply-To: <20050121220954.804F662DF@bart.motd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501211627.06193.kuuse@redantigua.com> cc: 'Scot Hetzel' cc: Tom Jensen Subject: Re: Problem with crt1.o and init tls X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 22:27:13 -0000 Excellent! Thanks! Now I got libcrypt.so.2 from 5.2.1, with flags and everything: bash-2.05b$ ls -lor /lib/libcrypt.so.2 -r--r--r-- 1 root wheel schg 32740 Feb 23 2004 /lib/libcrypt.so.2 Johan On Friday 21 January 2005 16:10, Tom Jensen wrote: > My system: > > -bash-2.05b$ ls -lor /lib/libcrypt.so.2 > -r--r--r-- 1 root wheel schg 28644 Nov 9 21:13 /lib/libcrypt.so.2 > > Se chflags(1) man page for details about removing the flags. > > - T > > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Johan Kuuse > Sent: 21. januar 2005 23:02 > To: Scot Hetzel > Cc: freebsd-current@freebsd.org > Subject: Re: Problem with crt1.o and init tls > > > To be safe run the base/install.sh script as follows: > > > > cd /cdrom/base > > mkdir /tmp/base <- someplace to hold the files > > DESTDIR=/tmp/base install.sh > > cd /tmp/base > > mv lib/* /lib > > mv usr/lib/* /usr/lib > > mv bin/* /bin > > mv sbin/* /sbin > > mv usr/bin/* /usr/bin > > mv usr/sbin/* /usr/sbin > > > > Scot > > OK, I restored the 5.2.1 base. > Almost. :-( > Moving the directories went all fine, except > /tmp/base/lib/libcrypt.so.2 -> /lib/libcrypt.so.2 "Operation not permitted" > I did succeed with > cp -p /tmp/base/lib/libcrypt.so.2 /lib/libcrypt.so.2.521 but I can't find a > way to delete /lib/libcrypt.so.2 > > chmod 644 /lib/libcrypt.so.2 - fails > unlink /lib/libcrypt.so.2 - fails > > I tried both in single-user- and in multi-user-mode. > > I also tried changing securelevel (after > http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/013601.html) >: > > i.e. adding this to /etc/rc.conf: > kern_securelevel_enable="YES" # kernel security level (see init(8)), > kern_securelevel="-1" > > which gives > $ sysctl -a|grep securelevel > kern.securelevel: -1 > > but I can't still get rid of /lib/libcrypt.so.2 > > Any hints? > > Best Regards, > Johan Kuuse > > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"