[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#354401: Error "chown: `root:UNKNOWN': invalid group" when setting up tex-common



HI Stephen!

Thanks for all the ideas...

On Son, 26 Feb 2006, Stephen Gran wrote:
> > > That looks like an untrapped error from debconf, off-hand.  debconf will
> > > return strings like "UNKNOWN THIS OR THAT" on error, and it looks like
> > > it was truncated to just UNKNOWN.
> >
> > and in postinst:
> >     db_get tex-common/managecache || true
> >     if [ $RET = true ] ; then
> >       db_get tex-common/groupname || true
> >       GROUP="$RET"
> >       if [ -n "$GROUP" ] ; then
> 
> This is exactly what I was expecting to see.  Wrap the last bit in an 
> `if getent group $RET` or similar to do some error checking on what

The interesting question is *HOW* did it come that there is nothing else
saved in this variable, HOW did it happend that debconf returned
something strange.

I believe(d) that the code in config really mangages that IF there cache
should be managed, then something IS stored in the groupname variable.

My understanding on why this does not happen stops here. But maybe
Frank or Florent or Ralf or Atsuhito or however has an idea.


Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SOTTERLEY (n,)
Uncovered bit between two shops with awnings, which you have to cross
when it's raining.
			--- Douglas Adams, The Meaning of Liff



Reply to: