[Spacewalk-list] deploy config files in symlinked directory
Jan Hutař
jhutar at redhat.com
Mon Jul 9 14:16:21 UTC 2012
On Wed, 4 Jul 2012 14:25:10 +0200 Jens Neu
<jens.neu at biotronik.com> wrote:
> Dear all,
>
> i am observing some weird behavior with my Spacewalk 1.5 when
> deploying config channels that include symlinks.
>
> I have a config channel consisting of three items:
>
> 1) dir: /opt/$USER/
> 2) symlink: /usr/local/home/$USER -> /opt/$USER
> 3) file: /usr/local/home/$USER/.foo
>
> intentions and pathnames are out of scope. Sticking point is,
> the channel includes a symlink as well as files that have the
> symlink in their absolute path.
> When I schedule a "deploy all" action on this, it fails with:
>
> # rhn_check -vv
> [...]
> [Errno 2] No such file or directory
> D: Sending back response ((6,), 'Fatal error in Python code
> occured', {}) D: do_call packages.checkNeedUpdate ('rhnsd=1',)
> {} D: local action status: ((6,), 'Fatal error in Python code
> occured', {}) D: rpcServer: Calling XMLRPC
> registration.welcome_message Exception
> exceptions.AttributeError: "'YumAction' object has no
> attribute 'preconf'" in <bound method YumAction.__del__ of
> <actions.packages.YumAction object at 0x8dbb790>> ignored
>
> Funny thing is, when I split this in two "deploy selected"
> actions with 1) and 2) first, and 3) afterwards, all works
> well. But: the error also occurs not only on the initial,
> first deploy, but also when all files deployed correctly
> anyway. Worse, it breaks the working setup and leaves me with
> something like this:
>
> # cd /usr/local/home
> # ls -la
> lrwxrwxrwx 1 root root 12 Jul 4
> 12:30 .rhn-cfg-tmp-18017-Lc9cJQ -> /opt/$USER/
> #
>
> Thoughts on this? Known limitation? Bug?
>
>
> best regards from Berlin!
> Jens Neu
> Health Services Network Administration
>
>
>
> www.biotronik.com
>
> BIOTRONIK SE & Co. KG
> Woermannkehre 1, 12359 Berlin, Germany
> Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
>
> Vertreten durch ihre Komplementärin:
> BIOTRONIK MT SE
> Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB
> 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr.
> Werner Braun, Dr. Lothar Krings, Dr. Torsten Wolf
>
> BIOTRONIK - A global manufacturer of advanced Cardiac Rhythm
> Management systems and Vascular Intervention devices. Quality,
> innovation, and reliability define BIOTRONIK and our growing
> success. We are innovators of technologies like the first
> wireless remote monitoring system - Home Monitoring®, Closed
> Loop Stimulation and coveted lead solutions as well as
> state-of-the-art stents, balloons and guide wires for coronary
> and peripheral indications. We highly invest in the
> development of drug eluting devices and are leading the
> industry with our drug eluting absorbable metal scaffold
> program.
>
> This e-mail and the information it contains including
> attachments are confidential and meant only for use by the
> intended recipient(s); disclosure or copying is strictly
> prohibited. If you are not addressed, but in the possession of
> this e-mail, please notify the sender immediately and delete
> the document.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
Hello,
Dimitar Yordanov checked this and he believes you are hitting
this bug (or similar one):
https://bugzilla.redhat.com/show_bug.cgi?id=627490
It was resolved in Spacewalk 1.6.
Regards,
Jan
--
Jan Hutar Systems Management QA
jhutar at redhat.com Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120709/0d29f0f5/attachment.sig>
More information about the Spacewalk-list
mailing list