redi is currently certified at Master level.

Name: Jonathan Wakely
Member since: 2005-04-07 13:39:20
Last Login: 2014-10-24 08:45:15

FOAF RDF Share This

Homepage: http://www.kayari.org/

Notes:

Mix equal parts of C++, UNIX and Free Software. Bring to the boil and serve.

I am a maintainer of the GCC C++ runtime library, libstdc++. I'm a sporadically-active member of the ACCU and the BSI C++ panel that represents the UK on the C++ Standards Committee.

Projects

Recent blog entries by redi

Syndication: RSS 2.0
New eBay password policy

eBay got hax0red and are asking users to reset their passwords. While doing so I discovered that they no longer allow spaces in passwords, preventing the use of passphrases.

I contacted them to ask why and was told:
Like any other sites, the space is not being considered by the system as a character since it has no value on it. Though this is the case, there are many alternative characters you can use like numbers and some symbols.

What a load of bullshit. So I asked again (pointing out that this was bullshit as space has the value 0x20 and plenty of other sites accept it) and was told:
The reason why spaces cannot be use a part of a password anymore because there are issues where in members are having difficulty logging in to their account specially when using mobiel.

So it's for usability, not security.
20 May 2014 (updated 24 May 2014 at 11:25 UTC) »
Static IPs and DNS for VM guests in Fedora 20

I recently needed to let my guest VMs talk to each other, which I did by assigning them static IPs as described below. Most of this is documented in Virtual Networking page of the libvirt wiki.

Add VM host and guests to /etc/hosts on the host, choosing a static IP for each guest
192.168.122.1 vhost.virtdomain vhost
192.168.122.2 guest1.virtdomain guest1


Find each guest's MAC address:
[root@localhost ~]# virsh domiflist guest1
Interface Type Source Model MAC
-------------------------------------------------------
- network default virtio 52:54:00:ab:cd:ef
(You can find this info via the virt-manager GUI instead if you prefer.)


Add <host> entries mapping MAC to the static IP
Run virsh net-edit default to edit the virtual network configuration
    <dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
<host mac='52:54:00:ab:cd:ef' name='guest1.virtdomain' ip='192.168.122.2'/>
</dhcp>


Restart dnsmasq
killall -HUP dnsmasq
Now dnsmasq will make the host's /etc/hosts available to all guests.


restart libvirtd
systemctl restart libvirtd.service


Exporting an NFSv3 mount to guest VMs in Fedora 20

With my virtual network configured how I wanted it, I could use NFS to share the host's filesystem with the guests. Most of the documentation I found on exporting an FS said to use the 9p protocol, but although that's supported in the Fedora kernel, it isn't supported by my RHEL6 and BSD guests, so I went for NFS. Figuring out the NFS config was harder than the network setup as all the documentation I found was outdated and/or didn't work on Fedora 20.

* On the host:

Edit /etc/exports to define the mount point:
/foo/bar 192.168.122.0/24(ro,async)
(In my case I'm using ro so I'll only export a read-only filesystem.)


Enable the NFS server
systemctl enable nfs-server.service
systemctl restart nfs-server.service


You should be able to list the available exports on the localhost
showmount -e


Configure firewall
Add the virtual network interface to a firewalld zone (I used "internal") and allow 'nfs', 'rpc-bind' and 'mountd' in that zone.
Make changes to the "permanent" profile to survive past restart, the runtime profile is not persistent, but can be useful for testing changes.


* On each guest:

You should be able to list the available exports
showmount -e 192.168.122.1
(If you set up DNS as described above you should be able to use host or host.virtdomain instead of the IP address.)


Mount the exported filesystem
mkdir /mnt/host
mount -t nfs -o nfsvers=3 192.168.122.1:/foo/bar /mnt/host


By default the clients seemed to want to use NFSv4, so trying to mount failed with an "access denied" error.
On RHEL6 I needed nfsvers=3 in the options, on BSD I needed nfsv3.
If that works correctly you can add it to etc/fstab to make it permanent.

Every time I type #include <utility> I wish there was a second C++ library header of utilities called <utilitu>, and another header of file utilities called <futility>.

20 Feb 2014 (updated 20 Feb 2014 at 09:46 UTC) »

To generate a PDF from the LaTeX sources for the C++ working draft:


git clone https://github.com/cplusplus/draft.git
cd draft/sources
latexmk -pdf std


On Fedora 20 I needed to install the following packages:


latexmk
texlive-isodate
texlive-relsize
texlive-fixme

chalst, ncm still posts here, unsyndicated, but infrequently.

I've been a bit more active recently, but don't rely on it being most months :) As I don't have much to say I don't see the point of setting up a dedicated blog site and syndicating it, Advogato's diary entries work for me.

280 older entries...

 

redi certified others as follows:

  • redi certified redi as Journeyer
  • redi certified movement as Master
  • redi certified ncm as Journeyer
  • redi certified lerdsuwa as Journeyer
  • redi certified slamb as Journeyer
  • redi certified jbuck as Master
  • redi certified cdevienne as Journeyer
  • redi certified jsm28 as Master
  • redi certified terceiro as Apprentice
  • redi certified phr as Master
  • redi certified StevenRainwater as Journeyer
  • redi certified jkeating as Journeyer
  • redi certified robocoder as Apprentice
  • redi certified DV as Master
  • redi certified skvidal as Journeyer
  • redi certified JMarc as Master
  • redi certified phe as Journeyer
  • redi certified rth as Master
  • redi certified stefan as Journeyer
  • redi certified hubicka as Journeyer
  • redi certified aoliva as Master
  • redi certified murrayc as Master
  • redi certified bonzini as Master
  • redi certified aph as Journeyer
  • redi certified pinskia as Journeyer
  • redi certified cdfrey as Apprentice
  • redi certified sriggs as Journeyer
  • redi certified bagder as Master
  • redi certified arnuld as Apprentice
  • redi certified chalst as Journeyer
  • redi certified fzort as Journeyer
  • redi certified yosch as Journeyer
  • redi certified qubit as Apprentice
  • redi certified tromey as Master
  • redi certified hulten as Apprentice
  • redi certified argp as Journeyer
  • redi certified dennissheil as Apprentice
  • redi certified xamat as Journeyer
  • redi certified murajov as Apprentice
  • redi certified rgreening as Apprentice
  • redi certified Trollaxor as Apprentice
  • redi certified ittner as Apprentice
  • redi certified 8191 as Apprentice
  • redi certified stan as Apprentice
  • redi certified mcnemesis as Apprentice
  • redi certified guylhem as Journeyer
  • redi certified DRMacIver as Apprentice
  • redi certified LaForge as Master
  • redi certified ryuslash as Apprentice
  • redi certified aicra as Journeyer
  • redi certified average as Apprentice
  • redi certified danstowell as Journeyer

Others have certified redi as follows:

  • redi certified redi as Journeyer
  • Akira certified redi as Journeyer
  • cdevienne certified redi as Journeyer
  • fzort certified redi as Master
  • arauzo certified redi as Journeyer
  • movement certified redi as Apprentice
  • Guillaume certified redi as Journeyer
  • byte certified redi as Journeyer
  • ncm certified redi as Journeyer
  • pasky certified redi as Journeyer
  • chalst certified redi as Journeyer
  • negative certified redi as Journeyer
  • lerdsuwa certified redi as Journeyer
  • mpr certified redi as Journeyer
  • bonzini certified redi as Journeyer
  • argp certified redi as Journeyer
  • murajov certified redi as Journeyer
  • sdodji certified redi as Master
  • ittner certified redi as Master
  • 8191 certified redi as Master
  • Trollaxor certified redi as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page