Re: Shell script startup strangeness

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

 



Robert McBroom via users wrote:
> In f27 there were a few lines before a script would execute. Now in f29 they
> go on and on and on. Saw a message about a setting that would control the
> clutter but I can't remember where.
> 
> Here is the hash--
> 
> sh -v ./goboy1.sh &
> $ module () {  _module_raw "$@" 2>&1
> }
...
> #!/bin/bash
> 
> Finally my code can run.  What gives?

This comes from having the environment-modules package
installed.  It's pulled in by scl-utils, which is part of
the default workstation install.

There was a thread about this a few months ago:

    https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/thread/VBFQMLGVPFVFV2RZDMFXNZ43HBU2CWCF/

As a result of that thread I filed a bug against
environment-modules regarding the verbose output:

    https://bugzilla.redhat.com/1578587

Generally, unless you have a need for environment-modules
(and if you aren't sure, then you almost certainly don't),
it's easiest to simply remove that package.  I'm more
inclined to do so now after seeing that it's maintainers
don't seem to be addressing the package bugs.

It might be worth adding to the bug report that using 'sh
-v' causes the extra debug output regardless of whether
MODULES_SILENT_SHELL_DEBUG=1 has been set.  I thought that
when I filed it only 'bash -x' caused it.  I don't know if
the problem has expanded or if I didn't catch that while
testing.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am willing to make the mistakes if someone else is willing to learn
from them.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux