Mailinglist Archive: opensuse (933 mails)

< Previous Next >
Re: [opensuse] /sbin/yast2: line 421: 17466 Segmentation fault $ybindir/y2base $module after updates?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Mon, 7 Jun 2010 00:54:57 +0200 (CEST)
  • Message-id: <alpine.LSU.2.00.1006070046520.5477@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sunday, 2010-06-06 at 16:15 -0500, David C. Rankin wrote:

Guys,

I need your help to identify the possible package that is now causing
yast to
segfault after yesterday's updates. Generally when yast has gone crazy in the
past, it is a Qt version, but looking at the list, I can't find a package that
fits the crime. The following are the packages installed yesterday:

Did you reboot?

Otherwise, being 11.0, run this in a script:

#!/bin/bash
set -o nounset

# Check there are no processes using software that has been updated by rpm.

# Date: Tue, 10 Jan 2006 10:14:59 +0000 (GMT)
# From: Bob Vickers <>
# Reply-To: suse-security@xxxxxxxx
# Subject: Re: [suse-security] Patch Noifications


# Run lsof and scan the output for libraries that have been updated. Before
# SuSE 9.1 these will include the string RPMDELETE, but in 9.1 they include
# a semi-colon.
# In 9.2 and 9.3 they include the string 'path inode='

#procs=`lsof | grep -E 'RPMDELETE|;|path inode=' | head -$lines`
procs=`lsof -n | grep -E 'RPMDELETE|;|path inode=' `

if [ -n "$procs" ]
then
host=`hostname`
cat <<EOF
Host $host has obsolete files still in use by running processes.
This may constitute a security hazard so you should restart daemons where
necessary.

COMMAND PID USER FD TYPE DEVICE SIZE
NODE NAME

EOF
echo "$procs"
exit 1
else
exit 0
fi




Running that after an update prints the list of libraries that are still running the old version. You have to restart the appropiate daemons or programs.

(when running 11.2 you can use "zypper ps" to get a similar output).

Perhaps you have such libraries still loaded if you did not reboot.

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkwMJ0QACgkQtTMYHG2NR9Wm+ACfWtkcJZ2HEgTKe6GQsJ9bR9Bl
umkAn24uKMSE1LR0ftu2aE0apizCvwrw
=6bW7
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References