-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stevens wrote:
> I asked this question a few days ago but it got no reply, so I am
> asking again in the hope that someone may know.
> 
> Smart hosed up (hung, quit, froze, whatever) and I killed it with the 
> kill command. Subsequent launches give the warning that the configuration
> is read only, even as root. If I use cli (smart --gui --ignore-locks) then it 
> works.
> 
> I have looked in what I thought were the obvious places for a lock file but I 
> cannot find one. I also searched through the mail list archives and bug 
> reports for Smart to see if anyone else reported the problem but nothing 
> came back. Anyone know where the lock file is hiding?

The lock file is in the "data-dir":
$ smart config --show data-dir
/var/lib/smart

But it's a real file lock, so it doesn't remain once the process died.
Are you really sure there is no smart process still running ?

ps -ef | grep smart | grep -v grep

If that line shows anything, kill those processes.

cheers
- --
  -o) Pascal Bleser     http://linux01.gwdg.de/~pbleser/
  /\\ <[EMAIL PROTECTED]>       <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGHyv5r3NMWliFcXcRAgH6AKCE762f1BAFYFyHJTwXQdP8Y6RE1ACgvs2D
syjopRmGyCdTsqu8iGMvz2U=
=NsUF
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to