|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Unable to login after using "sysmerge"
Hello,
I successfully upgraded OpenBSD from 6.5 stable to 6.6 snapshot with "sysupgrade". After that I updated the packages with pkg_add -u. However, some applications like Firefox did not start afterwards due to some relinking problem (if I remember correctly). So I was looking for a way to fix that and stumbled upon sysmerge. Without really knowing what I was doing I just ran it with the result that I am now unable to login neither as a regular user nor as root. The following error message is prompted when I enter the login name: login: Failure to retrieve default class init: default: unknown class All the daemons also fail to start due to the ”unknown class” problem. I am not to too tech savvy and would appreciate your help very much. |
|
||||
Three more comments to add:
|
|
|||
Thank you very much!
My /etc/login.conf was indeed empty. So I followed your instructions and replaced it with the version from the tarball. Everything is back to normal now. I cannot thank you enough for that as I was already prepared for the worst!. =) And I am sorry to show up here only when I have a problem. OpenBSD (and other BSDs) does keep me interested even though I am not that technically experienced. And I do believe that it was you who helped me the last time I wrote about my problem. Such knowledge certainly does leave an impression even some years passed. =) All the best to you and the other active members here! Last edited by nasser; 11th December 2019 at 08:54 PM. |
|
|||
Just one more thing:
I do not know how to correctly use sdiff(1). Is it possible to automatically merge any differing file versions? What is prohibiting me from running firefox is some .so file which is available in two versions… |
|
||||
The sdiff(1) command string run by sysmerge(8) is:
Code:
sdiff -as -w $(tput -T ${TERM:-vt100} cols) -o ${COMPFILE}.merged \ ${TARGET} ${COMPFILE}
Quote:
|
|
|||
Let me show you what I am doing since I cannot solve the problem:
When I want to open Firefox I receive the following error messages: Code:
firefox: /usr/X11R6/lib/libX11.so.17.0: /usr/X11R6/lib/libX11.so.16.1 : WARNING: symbol (_XimXTransSocketINETFuncs) size mismatch, relink your program firefox: /usr/X11R6/lib/libX11.so.17.0: /usr/X11R6/lib/libX11.so.16.1 : WARNING: symbol (_XimXTransSocketLocalFuncs) size mismatch, relink your program firefox: /usr/X11R6/lib/libX11.so.17.0: /usr/X11R6/lib/libX11.so.16.1 : WARNING: symbol (_XimXTransSocketUNIXFuncs) size mismatch, relink your program firefox: /usr/X11R6/lib/libX11.so.17.0: /usr/X11R6/lib/libX11.so.16.1 : WARNING: symbol (_XimXTransSocketINET6Funcs) size mismatch, relink your program firefox: /usr/X11R6/lib/libX11.so.17.0: /usr/X11R6/lib/libX11.so.16.1 : WARNING: symbol (_XimXTransSocketTCPFuncs) size mismatch, relink your program msyscall e596e88e000 a5000 error Code:
doas sdiff -as -w $(tput -T ${TERM:-vt100} cols) -o ${COMPFILE}.merged \ ${TARGET} ${COMPFILE} Code:
> ${COMPFILE}libX11.so.16.1 libX11.so.17.0 Code:
sdiff: file1 start is invalid: |
|
||||
Files stored in /usr/lib, /usr/X11R6/lib, and /usr/local/lib are compiled, binary, CPU executable files, they are not human readable text.
https://en.wikipedia.org/wiki/Librar...ared_libraries |
|
||||
Replying again, to state that the library mismatch warnings are typically -- but not always -- due to an out-of-sync package, so perhaps Firefox or one of its dependencies is out of date.
The -current version of Firefox (at this writing) is 71.0. |
|
|||
I did forget to adjust the PKG_PATH but even after correcting that the pkg_add -u still does not fix the problem. I will just do a fresh installation. Thank you for your help.
|
|
|||
Another thank you
Quote:
I had this exact same issue recently. I'd done several successful manual upgrades, but this was my first time using sysupgrade. I work with source code frequently and know about diffs, but I was a newbie to sdiff...and somehow I blew it and ended up with an empty /etc/login.conf file. (I've since read the man page for sdiff.) Anyway - your suggestions on this thread, found through a quick search on another computer, helped me get out of the proverbial ditch very quickly. Thank you!! |
|
|||
@nasser There were similar issues I used to have with pkg_add -u. In such cases like above
Code:
pkg_add -u firefox |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference between"arp info overwritten" and " duplicate IP address " | varag | OpenBSD Security | 1 | 6th April 2015 02:57 PM |
How to replace "ectags" with "ctags"? | fender0107401 | OpenBSD Packages and Ports | 5 | 16th April 2013 10:01 AM |
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" | jb_daefo | Guides | 0 | 5th October 2009 09:31 PM |
"Thanks" and "Edit Tags". | diw | Feedback and Suggestions | 2 | 29th March 2009 12:06 AM |
MYSQL can't start "UNABLE TO LOCK | disappearedng | FreeBSD General | 0 | 14th October 2008 02:01 AM |