Re: Shellshock: how does it actually work?

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

 



On 09/26/2014 11:52 AM, Michael Cronenworth wrote:
> On 09/26/2014 12:13 PM, Dan Thurman wrote:
>> Matthew Miller <https://mattdm.id.fedoraproject.org/>
>> Posted September 25, 2014 at 9:47 PM
>>
>> Download our F19 update SRPM and see if it’ll rebuild cleanly for you.
>>
>> ======================================
>>
>> Can you give some details how you would do this?
>>
>
> # yum install mock
> $ wget
> https://kojipkgs.fedoraproject.org//packages/bash/4.2.48/2.fc19/src/bash-4.2.48-2.fc19.src.rpm
> $ mock -v -r fedora-16-$ARCH --rebuild bash-4.2.48-2.fc19.src.rpm
>
> Wait a few minutes while it compiles. The final binary RPMs will be
> placed in /var/lib/mock/fedora-16-$ARCH/result/.

Please bear with me as mock is new to me!

I had to set the $ARCH variable to i386 and
change 16 to 18, and I successfully completed
the tasks.

/var/lib/mock/fedora-18-i386/ contains 2 directories:

result
root

The results directory contained:

available_pkgs
build.log
bash-4.2.48-2.fc18.i686.rpm
bash-4.2.48-2.fc18.src.rpm
bash-debuginfo-4.2.48-2.fc18.i686.rpm
bash-doc-4.2.48-2.fc18.i686.rpm
installed_pkgs
root.log
state.log

The root directory appears to be a clone of root,
a chroot perhaps?

Steps/Questions:

1) I saved copies of the new bash RPM files for
    safekeeping as well as the originals.  I did this
    in case of failure after installation and/or reboot.

2) If installation works, what test can I use to ensure
    the bugs are fixed. Can I begin testing right after
    installation or do I need to reboot?

3) If a reboot fails, what steps can I take to recover
    in case bash is not working?  Is it possible to use
    yum in absence of bash?

4) If testing and bash passes, how can I safely remove
    /var/lib/mock/fedora-18-i386 directory?

Thanks for the help!


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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