Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8604] sorcery 1.12.0-rc11: gaze alien display sorcery files as alien

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 8604] sorcery 1.12.0-rc11: gaze alien display sorcery files as alien
  • Date: Fri, 15 Apr 2005 01:38:18 -0700 (PDT)

http://bugs.sourcemage.org/show_bug.cgi?id=8604





------- Additional Comments From acedit AT armory.com 2005-04-15 01:38 -------
It is the exact same bug, the error in the other bug is because sorcery
couldnt
find the psuedo install log that it would use for filtering out its own
files. I
didnt know this feature was lost either actually, I'd have fixed it a long
time
ago otherwise :-)

Yes a fix is planned for the soon to immediate future (it was marked for
1.13),
as its a priority for you I'll get it into the 1.12.1 stable release, and an
early 1.12.1-rc test release, for now I would recommend filtering out sorcery
files from the gaze alien output yourself. You can borrow the filter function
from libmisc, just run

. /etc/sorcery/config
gaze aliens|filter $FAKE_INSTALL_LOG

instead of a plain gaze aliens

$FAKE_INSTALL_LOG is a file listing the files sorcery installs,
it can be

/usr/sbin/scribbler
/usr/sbin/gaze
/usr/sbin/cast
/usr/sbin/invoke
/usr/sbin/scribe
/usr/sbin/summon
/usr/sbin/cleanse
/usr/sbin/delve
/usr/sbin/cabal
/usr/sbin/alter
/usr/sbin/vcast
/usr/sbin/sorcery
/usr/sbin/xsorcery
/usr/sbin/dispel
/usr/doc/sorcery/COPYING
/usr/share/man/man8/invoke.8
/usr/share/man/man8/summon.8
/usr/share/man/man8/scribbler.8
/usr/share/man/man8/alter.8
/usr/share/man/man8/scribe.8
/usr/share/man/man8/cleanse.8
/usr/share/man/man8/cast.8
/usr/share/man/man8/dispel.8
/usr/share/man/man8/sorcery.8
/usr/share/man/man1/gaze.1
/usr/share/man/man5/sorcery_config.5
/usr/share/man/man5/grimoire.5
/var/lib/sorcery/.*
/etc/sorcery/.*

Filter matches each line of stdin against each line from the files passed in
as
arguments using grep. If it finds a match it surpresses that line of input.

Also, fyi, gaze alien isnt strictly a list of files, it prints a warning
header
that gaze alien is not a security feature or some such[0], the way your script
works, it would treat that message as a list of files and try to remove all of
them, usually thats harmless, but not always. I can add a parameter to gaze to
surpress that for you if you'd like.

[0]
"In a few minutes I will print files found on this disk
that were not installed by sorcery. This is not a
security feature! Files could still be lurking
undetected on this box."




--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page