Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8848] New: libstate:modify_config tries to use the file before checking for existence

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 8848] New: libstate:modify_config tries to use the file before checking for existence
  • Date: Mon, 9 May 2005 15:41:55 -0700 (PDT)

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

Summary: libstate:modify_config tries to use the file before
checking for existence
Product: Sorcery
Version: Untargetted future release
Platform: All
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: eric AT sandall.us


Code from a script:
source ${SORCERY_ROOT}/etc/sorcery/config &&

#
# Setup Sorcery to install to the chroot
# Sorcery still uses /etc/sorcery for configuration
#
modify_config ${SORCERY_ROOT}/etc/sorcery/local/roots \
STATE_ROOT "${CHROOT_DIR}" &&
modify_config ${SORCERY_ROOT}/etc/sorcery/local/roots \
INSTALL_CACHE "${CHROOT_DIR}/var/cache/sorcery" &&
modify_config ${SORCERY_ROOT}/etc/sorcery/local/roots \
INSTALL_ROOT "${CHROOT_DIR}" &&
modify_config ${SORCERY_ROOT}/etc/sorcery/local/roots \
TRACK_ROOT ""

/etc/sorcery/local/roots doesn't exist
grep: //etc/sorcery/local/roots: No such file or directory

Contents of /etc/sorcery/local/roots (SORCERY_ROOT is "" here) after running:
# cat /etc/sorcery/local/roots
STATE_ROOT="/mnt/smgl"
INSTALL_CACHE="/mnt/smgl/var/cache/sorcery"
INSTALL_ROOT="/mnt/smgl"
TRACK_ROOT=""

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



  • [SM-Sorcery-Bugs] [Bug 8848] New: libstate:modify_config tries to use the file before checking for existence, bugzilla-daemon, 05/09/2005

Archive powered by MHonArc 2.6.24.

Top of Page