Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13400] symlinks for config files should not be reaped

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 13400] symlinks for config files should not be reaped
  • Date: 27 Jul 2010 16:23:36 -0000

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


Robert Figura <drjschn AT gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |drjschn AT gmx.de




--- Comment #18 from Robert Figura <drjschn AT gmx.de> 2010-07-27 11:23:30 ---
Just had a look at the symlinks in my /etc/

localtime -> /usr/share/zoneinfo/Europe/Berlin
lynx.cfg -> ../var/lib/lynx/lynx.cfg
man.conf -> ../usr/share/misc/man.conf
...

/etc/localtime is also mentioned in /var/lib/sorcery/excluded
If i remember the docs correctly the admin is supposed to symlink it as
needed. There is a patch in the grimoire to fix the symlink handling for
the glibc installer:

- if test -r $@; then \
+ if test -r $@ || test -h $@; then \
echo Site timezone NOT reset to Factory.; \
else \
rm -f $@T; \

See http://bugs.sourcemage.org/show_bug.cgi?id=14548
In our context the solution doesn't look perfect to me.


The latter two are puzzling me. do the installed binaries search for the
config at the target location (so /etc/man.conf is just a convenience)? or
do the upstream installers symlink instead of copying their example config
(unlike other installers)?


in any case: What Thomas' patch accomplishes for config files, that is
checking the md5 of the symlink target, might not be what one really
wants. Didn't figure out (yet?) what that might be. But i think it is worth
thinking about.

btw: looking critically at the patch and the snippet i found that starting
to change at this line instead:
if test -f $REAPER_FILES ; then
would sort of avoid many of my paranoid feelings :)

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



  • [SM-Sorcery-Bugs] [Bug 13400] symlinks for config files should not be reaped, bugzilla-daemon, 07/27/2010

Archive powered by MHonArc 2.6.24.

Top of Page