Subscribe: Harald Hoyer - Fedora
http://www.harald-hoyer.de/wp-rss2.php
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
add  apache  build  command line  command  fedora  gnome keyring  initrd kernel  initrd  kernel command  kernel  keyring ssh  line  ssh  system 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Harald Hoyer - Fedora

Harald Hoyer





Last Build Date: Tue, 15 Nov 2016 17:08:15 +0000

 



dracut and CVE-2016-4484: Cryptsetup Initrd root Shell

Tue, 15 Nov 2016 16:42:23 +0000

People who want to secure their Fedora/RHEL system have to: add a BIOS password add a grub password add “rd.shell=0” to the kernel command line Anaconda does add “rd.shell=0” to the kernel command line automatically, if you setup the bootloader with a password.



GPG, Smartcard and ssh

Thu, 21 Jul 2016 14:35:14 +0000

This blog posts shows how to tweak Fedora, if you want to use a smartcard with OpenPGP and use it also as a ssh key. It also serves me as a recipe for fresh installations. First, you have to disable gnome-keyring-ssh by: $ cp /etc/xdg/autostart/gnome-keyring-ssh.desktop $HOME/.config/autostart $ echo "Hidden=true" >> $HOME/.config/autostart/gnome-keyring-ssh.desktop Because the pcscd daemon […]



Test post for SatoshiPay

Tue, 19 Jul 2016 18:44:43 +0000

Go, find out about SatoshiPay.



A Python Transaction Class

Tue, 13 Oct 2015 10:20:43 +0000

This is a repost of a blog post of 2008. Just for the reference 🙂 This class allows sub-classes to commit changes to an instance to a history, and rollback to previous states. The final class with an extension for __setstate__ and __getstate__ can be found here: transaction.py and transaction_test.py. Also now in the ASPN […]



libtool: getting rid of 180,000 sed forks

Thu, 05 Mar 2015 08:10:36 +0000

When compiling systemd on rawhide, we noticed a significant slowdown in compile time. Investigating further, it turns out, that libtool forks an incredible amount of sed. Running perf showed 30% of the “make all” was spent in bash. strace showed an execve of sed with the same arguments 180,000 times!!!!! Looking in the code reveals […]



Single UEFI executable for kernel+initrd+cmdline

Wed, 25 Feb 2015 15:55:16 +0000

Lately Kay Sievers and David Herrmann created a UEFI loader stub, which starts a linux kernel with an initrd and a kernel command line, which are COFF sections of the executable. This enables us to create single UEFI executable with a standard distribution kernel, a custom initrd and our own kernel command line attached. Of […]



Self Hosting Fedora Base

Tue, 14 Jan 2014 16:15:52 +0000

If you want to bootstrap a distribution or want to rebuild it from the sources (SRPMS) to get the same binaries (think CentOS), you have to build the build tools and rebuild them with the built build tools, which have to be built with other build tools… My goal for a self-hosting Fedora Base is […]



Linux: HOWTO get the number of CPUs

Wed, 13 Nov 2013 12:13:04 +0000

$ getconf _NPROCESSORS_ONLN returns the number of CPUs online Internally it is parsing /sys/devices/system/cpu/online, which can have the contents: 0-3,5,7-9. Better let getconf do all the counting for you. This is very useful, if you want to optimize the number of threads.



Fedora Boot Optimization

Wed, 13 Nov 2013 10:12:04 +0000

This article shows how to reduce boot time for Fedora 17, but the recipe can also be applied to 18, 19 and 20. The target is to get a fast booting system with NetworkManager running and gdm displaying the login screen as fast as possible. The system I use here is a Lenovo T420s (2x2x […]



Redirecting apache access_log and error_log to the systemd journal

Thu, 07 Nov 2013 10:03:38 +0000

To redirect all apache messages to syslog, which will then appear in the systemd journal modify your httpd.conf: CustomLog "|/bin/logger -t access_log -p user.info" "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" ErrorLog syslog:user Of course it would be much nicer, if apache actually could use the journal directly. [Edit]: Apparently with apache […]