[tools] Issue with mrepo when the wwwdir is a link

Dag Wieers dag at wieers.com
Wed May 16 20:41:07 CEST 2007


On Wed, 16 May 2007, Bruno Cornec wrote:

> First thanks a lot for providing such a good tool. I'm begining my use
> around a deployment server solution (http://trac.dploy.org - early
> stages :-)

I'm very interested in this. I think another project of mine that I never 
kicked off is 'footprint'. The aim is to manage a list of systems (+ 
specific info) and maps with kickstart-files/templates and customizations.

You can find some brainstorm ideas at:

	http://svn.rpmforge.net/svn/trunk/tools/footprint/README


> I think There is an issue with the symlink function.
> I don't see why there is a forced mkdir when the dst doesn't exist. At
> least on my server, it causes a fatal error, as the mkdir fails.
> 
> I'd like to propose the following patch to avoid that issue (it works
> for me). But as I'm new to the project, I may have underestimate
> something.

To be honest, I think I need to redo all the filesystem operations that 
mrepo does. First of all does mrepo need exception handling for most of 
those things.

And secondly, what mrepo now does is a patchwork of feedback and what 
works for one environment may clash with another one's. We should be much 
more precautious when doing things :)

Anyway, for what I can see your patch makes a lot of sense so it has been 
applied.

I still need to wrap up the client-configuration documentation and add the 
RHEL5 bits that were send to the list recently and do a new release.

And in the meantime look for someone who wants to sponsor the new 
RHN xmlrpc implementation or a better yaml configuration backend. (the 
current config-files is too limited to allow for per-repository options)

Thanks for your patch.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the tools mailing list