OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 2.1 to 2.4 u/g scache errors and admin panic

From: Voytek Eymont (listssbt.net.au)
Date: Tue Oct 02 2007 - 10:27:26 CDT


On Wed, October 3, 2007 1:15 am, Victor Duchovni wrote:
> On Wed, Oct 03, 2007 at 12:57:09AM +1000, Voytek Eymont wrote:

>> is this my problem.. ?
>
> Yes. Don't use "emacs" to edit system configuration files, use "vi",
> which never leaves the last line of a file without a trailing a newline, or
> configure "root's" .emacs to always add the trailing blank. I last used
> emacs in the 80's, so I don't remember the right elisp variable.
>

Viktor, thanks

I normally use mc's editor (as it is my main utility (and I never learned
vi))

so... is this the 'likely scenario':

at some time in the past, I edited master.cf, didn't leave trailing newline;
the current upgrade's master.cf edit stuffed up as a result of that
long-forgotten edit ?

and, a lesson to be learned, use vi OR always leave trailing newline when
hand editing config files ?

thanks again,

--
Voytek