Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 13123] /etc/sysconfig/facilities removed casting net-tools when casting it twice in a row or when it's not changed in between

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 13123] /etc/sysconfig/facilities removed casting net-tools when casting it twice in a row or when it's not changed in between
  • Date: 15 Nov 2006 04:09:32 -0000

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





------- Additional Comments From acedit AT armory.com 2006-11-14 22:09 -------
got it

- cast runs post_install in delve (starting in devel sorcery)
- delve currently creates a new temp directory rather than re-using cast's
- mark_file_modified records removals in a file in the temp directory
(wherever
that is)
- when delve quits it removes its temp dir

The combination of all those points means that the modification recording file
doesn't make it back to cast and cast erroneously records an md5sum for the
facilities file.

This also explains the keymap file issue that was reported.

The options are to either pre-declare the modified file (trivial), or teach
delve to live inside cast's temp directory (trivial). I've tried and verified
both work. So I need to consider the implications of both, as there are pro's
and con's to both.

NOTE NOTE NOTE NOTE
this fix will prevent erroneously adding sysconfig files to the md5 list (the
cause of all this). It does NOT protect against losing the file from events
already set into motion. For that I don't have a good solution yet other than
trivially modifying all the sysconfig files (preventing dispel from removing
the
files):

for each in /etc/sysconfig/*; do echo >> $each; done

We could 'protect' facilities (as its a core part of our init system), but
that
fix can't apply to other sysconfig files, as users may legitmately want to
remove them. However, the reported impact on files other than facilities is
minimal.

--
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