Andreas Beckmann <deb...@abeckmann.de> > On 2013-01-04 01:09, José Manuel Santamaría Lema wrote: > >> # HOME=/fooo odbcinst -u -s -l -n VOS > >> odbcinst: DSN removed (if it existed at all). ODBC_BOTH_DSN was used as > >> the search path. # dd if=/dev/urandom of=/root/.odbc.ini count=1 > >> # HOME=/fooo odbcinst -u -s -l -n VOS > >> odbcinst: SQLRemoveDSNFromIni failed with Unable to find component name. > > > > Thank you very much. I think you have just pasted above two evidences of > > the real problem: it's not that it does the same as "touch > > /root/.odbc.ini" (which would be somewhat harmless), it's just that the > > -l option is being ignored. > > Is there already a bug report for this? Otherwise please clone this > report, reassign it to odbcinst and retitle it. > I would consider this as RC since it makes odbcinst unsuitable for use > in maintainer scripts. > > There could be more packages affected ... this should list some of them: > http://codesearch.debian.net/search?q=odbcinst.*-l+filetype%3Ashell
There is no bug report yet. My intention was opening a new one once we have figured out this unowned files problem (just in case I am still missing anything). And depending of my free time, I might try to write a patch for odbcinst, but I can't promise anything. > > Therefore I changed again the prerm script to execute odbcinst setting > > the ODBCSEARCH env var, which should override the options given in the > > command line. > > > > I have prepared package with the intended fix, would you be so kind to > > test it again in your piuparts stuff? it's available temporarily here: > > http://alioth.debian.org/~santa-guest/packages/virtuoso-odbcinst-bug/ > > > > If it's more convenient for you I could even upload it and hope for the > > best. > > I can easily test it before you upload it if you add a Packages file: > cd .../virtuoso-odbcinst-bug ; dpkg-scanpackages . > Packages Done. > > for the record, I'm attaching the debdiff against the -2 version. > > Looks fine, but not tested, yet. > The bug reference in the prerm script should better point to a bug > reported against odbcinst. Ok, just tell me if it works for your or not, if it does I'll file the bug against odbcinst and I'll include a reference to the bug in the prerm script comments, as you suggest. > > Andreas
signature.asc
Description: This is a digitally signed message part.