Configuration Locked

Gustavo Niemeyer gustavo at niemeyer.net
Tue Jan 31 18:48:14 PST 2006


> I had to kill a hung smart process and now my configuration is locked.
> I've found the "--ignore-locks" option, but I haven't found an option
> to remove the lock.  Is there any solution other than writing my own
> python script that opens the config, releases the lock and writes it
> back?

Smart uses fcntl locking, which means that the only way to achieve
a locked Smart is with a running process. You don't have to remove
any lock files, just kill the process and you're done. If it's still
locked, look closer, there's still a running process.

> This is exactly the kind of inelegance I was alluding to in my previous 
> email questioning the rationale of having a pickled config.

Your problem has absolutely nothing to do with pickled
configuration files.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the Smart mailing list