Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 23:10:18 +0100
From:      "Tom Jensen" <tom@motd.dk>
To:        "'Johan Kuuse'" <kuuse@redantigua.com>, "'Scot Hetzel'" <swhetzel@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   RE: Problem with crt1.o and init tls
Message-ID:  <20050121220954.804F662DF@bart.motd.dk>
In-Reply-To: <200501211601.36583.kuuse@redantigua.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121220954.804F662DF>