Re: cobbler sync crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually I was going in an entirely different direction with the subdirectory.

It's an RCS directory.  I've been using for years and never switched to cvs,
or svn.  It would be good if version control subdirectories were quietly ignored.

On 8/27/07, Matt Hyclak <hyclak@xxxxxxxxxxxxxx> wrote:
On Mon, Aug 27, 2007 at 11:10:35AM -0400, Michael DeHaan enlightened us:
> Matt Hyclak wrote:
> >On Mon, Aug 27, 2007 at 10:33:51AM -0400, Michael DeHaan enlightened us:
> >
> >>drew einhorn wrote:
> >>
> >>>I installed 0.6.0 and now cobbler sync dies with:
> >>>
> >>> File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line
> >>>466, in load_snippet_cache
> >>>   snip_file = open(snip)
> >>>IOError: [Errno 21] Is a directory
> >>>
> >>>
> >>At first guess, it looks like you have a subdirectory in your
> >>/var/lib/cobbler/snippets directory where I wasn't expecting any.
> >>
> >>The short term solution is to not put subdirectories there (cobbler
> >>won't read them).    I'll fix 0.6.1 to ignore potential subdirectories.
> >>
> >>
> >
> >Might be worth emulating some other things that have directories that are
> >read, but only read files with a particular ending - e.g.
> >partition_select.snip and ignore all other files/directories. That way it's
> >easy to disable a particular snippet by renaming it to something else.
> >
> >Matt
> >
> >
> If a kickstart references "SNIPPET::bar" all you need to do currently to
> disable it is to rename
> "bar" to something not named "bar".
>

True. Just hope you don't have another snippet named "not bar". :-)

> Searching subdirectories (and possibly even namespacing them) is
> reasonable though.
>

Oooh, getting advanced on us. That might be interesting...

Matt

--
Matt Hyclak
Department of Mathematics
Department of Social Work
Ohio University
(740) 593-1263

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools



--
Drew Einhorn
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux