Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14399] New: [PATCH] symlinks in tmpfs mount paths, some quoting

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 14399] New: [PATCH] symlinks in tmpfs mount paths, some quoting
  • Date: 28 Mar 2008 22:59:54 -0000

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

Summary: [PATCH] symlinks in tmpfs mount paths, some quoting
Product: Sorcery
Version: 1.14.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: sobukus AT sourcemage.org


When you got a symlink in the way of /usr/src/$SPELL you are in trouble with
rm_source_dir(), as
that doesn't find the mount anymore ('cause there is the real path with
symlinks resolved).
Happened to me with /usr/src -> /some/where .
RAM filled up quickly with no tmpfs mount being cleared...

Patch to test sorcery's libgrimoire attached... the fix is the readlink line
alone; I just added some
quotes on path names around there, too -- because I was already there.
Please note that for actually having funny characters (spaces) in directory
names, on would need to
replace the `cut -d' '` on `mount` lines with something smarter.

--
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 14399] New: [PATCH] symlinks in tmpfs mount paths, some quoting, bugzilla-daemon, 03/28/2008

Archive powered by MHonArc 2.6.24.

Top of Page