Bug 169041 - catalyst 2.0.3_pre2 - -a option doesn't work on Gentoo/FreeBSD
Bug#: 169041 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: catalyst@gentoo.org Reported By: welp@gentoo.org
Component: Catalyst
URL: 
Summary: catalyst 2.0.3_pre2 - -a option doesn't work on Gentoo/FreeBSD
Keywords:  
Status Whiteboard: 
Opened: 2007-03-02 19:51 0000
Description:   Opened: 2007-03-02 19:51 0000
The -a (--clear-autoresume) option does not work on Gentoo/FreeBSD.

This is because the /var/catalyst/* files and folders are created with 'system
immutable' flag. To remove the 'system immutable' flag from the command prompt,
one would run `chflags -R noschg /var/catalyst/tmp`, which removes the 'system
immuntable' flag and allows the files/folders to be removed.

------- Comment #1 From Chris Gianelloni (RETIRED) 2007-03-03 07:36:47 0000 -------
You are running the latest _pre, correct?  Anyway, I'll look at this once I
make my way back to the States and will probably be rolling out a new 2.0.3_pre
version with this fix and some others.

------- Comment #2 From Peter Weller 2007-03-03 23:14:19 0000 -------
I was using the latest keyworded version on ~x86-fbsd. Which is... *checks*...
_pre2 so yes, I am using the latest _pre.

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-03-06 17:36:57 0000 -------
Here's a question, why are the files even created system immutable?

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2007-06-08 18:33:53 0000 -------
ld.so, libc.so, a few other files are installed as immutable, to preserve
possible removal even by root.

------- Comment #5 From Chris Gianelloni (RETIRED) 2007-06-23 13:55:01 0000 -------
OK.  Diego, now that you're "back on payroll" would you be interested in
working with me again on trying to get Gentoo/FreeBSD support into catalyst
properly?  It was a pleasure working with you before and I would like to resume
that line of development, provided you're still interested.

I have some other ideas that I'm about to propose that, I think, would greatly
benefit from having at least minimal Gentoo/FreeBSD support in the upcoming 2.1
branch.  I don't expect it to spit out a Gentoo/FreeBSD LiveCD or anything
(though that would be freakin' sweet) but I would like for it to properly
recognize a Gentoo/FreeBSD system and act accordingly.

------- Comment #6 From Chris Gianelloni (RETIRED) 2007-10-11 23:58:07 0000 -------
OK.  I just added a patch which I *think* will work, based on the information
given here.

------- Comment #7 From Chris Gianelloni (RETIRED) 2007-10-12 00:08:14 0000 -------
This should be fixed in 2.0.5_pre4.  Please test this version of catalyst (or
newer) and report back if it does not work.

Thanks