/lib/libc.so.7 unsupported file format

Sami Halabi sodynet1 at gmail.com
Thu Oct 10 12:03:00 UTC 2013


Hi,
thanks for replying me so fast.

what i ment is:
1. in the jail (32 bit) to do:
 freebsd-update fetch

# ls /var/db/freebsd-update/
./
../
f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-install@
filelist
files/
install.TggE71/
pub.ssl
serverlist
serverlist_full
serverlist_tried
tINDEX.present
tag
root at sami:/ #

root at sami:/ # more /var/db/freebsd-update/tag
freebsd-update|i386|9.1-RELEASE|7|b3924864da0e125ff57d2f9894347dbc0e130ae32a0647126d5109dbc099981e|1420070400
root at sami:/ #

2. since inside the jail:
root at sami:/ # freebsd-update install
Installing updates...chflags: ///lib/libc.so.7: Operation not permitted
root at sami:/ #

not working because of chflags (maybe there is a sysctl that will allow a
jail to chflags??)

i thought that maybe there is some way to do it from outside the jail.

unfortunattly doing simple:
root at 6:/root # freebsd-update -b /usr/jails/sami -d
/usr/jails/sami/var/db/freebsd-update/ install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
root at 6:/root #

i thought if there is some way to interpret the data and installing using
the host (maybe manually somehow...), or even changing the chflags inside
the jail to an executable that return success no matter what...

Sami





On Thu, Oct 10, 2013 at 2:55 PM, Mark Felder <feld at freebsd.org> wrote:

> On Thu, Oct 10, 2013, at 6:48, Sami Halabi wrote:
> > Hi,
> > is there a simple way to interpret the data in /var/db/freebsd-update
> > that
> > sits inside a jail, from HOST and install the updates that already
> > fetched
> > somehow ?
> >
>
> freebsd-update uses binary patches. They are not entire files you could
> simply replace on your system. As you have witnessed, applying a binary
> patch intended for a 64bit binary to a 32bit binary has dire
> consequences. Unfortunately the data in /var/db/freebsd-update is
> completely worthless for your 32bit jail.
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
FreeBSD SysAdmin Expert


More information about the freebsd-jail mailing list