7,469 reputation
32037
bio website mattdm.org
location Somerville, MA
age
visits member for 2 years, 6 months
seen yesterday
stats profile views 561

I'm the Fedora Cloud Architect at Red Hat.

I've been using Linux and Unix professionally since 1995, mostly in Linux-related sysadmin/systems architect jobs supporting academia. I generally know my stuff, but am very happy to learn something new and to be corrected when I'm wrong.

Fedora Cloud


2d
comment How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
No, it's asking who has 169.254.169.254. Which is, of course, nobody. Hmmm -- the guest has a route which says the link-local network (169.254.0.0/16) goes to its eth0 (same as 192.168.77.0/24). That's probably the culprit, although it is out of my control.
2d
comment How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
Soooo, I added a proxy arp entry: arp -s 169.254.169.254 -D virbr1 pub and the PREROUTING rule started working. Any idea what's up with that? Why does it care?
2d
comment How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
Yes, tried and failed. Ahhh! Now that's interesting. I don't get tcp packets, but I do get ARP requests: 20:48:23.758468 ARP, Request who-has 169.254.169.254 tell 192.168.77.82, length 28 (Just that, repeated.)
2d
comment How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
And, given all that, adding the prerouting DNAT rule does not do it, I'm afraid.
2d
revised How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
more info as requested
2d
comment How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
It all looks pretty boring to me. Since it's Fedora 19, I was using FirewallD, which creates a lot of different (largely empty by default) zones, but I switched that off to simply things (and it doesn't help). The metadata service is listening on all addresess, so it does respond on 192.168.77.1, and in fact I can access it at that address in the guest.
2d
asked How do I port-forward 169.254.169.254-bound packets from libvirt/KVM guests to localhost?
May
6
comment How to constraint time a program runs in Linux?
Since PIDs are usually sequential, the chance of killing something at random when the program exits after less than a second is very low unless you have a fast machine with high abnormal activity. I certainly wouldn't do that solution for anything I was doing for anyone else or on a shared system, and in general the timeout approach is better, but on one's own system the sleep approach is effectively safe.
May
6
comment How to copy datasets automaticaly
Hi, and welcome to Stack Exchange. I'm afraid you're going to have to explain in a lot more detail what you're looking for. What data sets? What directory structure? How do they get there in the first place? What do you mean by "latest version"? Do you want previous versions retained? What have you tried already? And so on.
May
6
comment How can I move the home directory to a separate partition?
I unlinked "permission fix" and copied in the advice from the original article, which I found archived.
May
6
revised How can I move the home directory to a separate partition?
because of apparent compromise of linked site, looked at http://web.archive.org/web/20120220194837/http://phunehehe.isgreat.org/2009/trouble-using-a-backed-up-home-in-ubuntu/ and copied the advice there directly into the question.
May
6
revised Rm command recovery for this situation
added 50 characters in body
May
5
comment What are the pros/cons of deb vs. rpm?
All of these things are also true for, for example, RPMs packaged for Fedora.
Apr
28
comment What's the best way to have a 169.254.169.254 address local to my laptop?
Unfortunately, this is exactly what I was doing and what was working but now isn't.
Apr
27
revised Batch delete exif info
added 88 characters in body
Apr
26
asked What's the best way to have a 169.254.169.254 address local to my laptop?
Apr
25
revised How to turn off the beep only in bash tab-complete
added 39 characters in body; edited tags
Apr
25
revised Why does rsync fail to copy files from /sys in Linux?
typo
Apr
24
revised Why does rsync fail to copy files from /sys in Linux?
added 153 characters in body
Apr
24
comment Why does rsync fail to copy files from /sys in Linux?
Sorry, I wasn't clear. Rsync specifically checks for files truncated during read and throws this error.