229 reputation
113
bio website
location Sydney, Australia
age 26
visits member for 1 year, 9 months
seen Jun 25 at 10:45

Sysadmin / systems programmer living in Sydney. I also work as a refugee activist and writer. I enjoy Go, Python, C, postgres, lightweight Linux distros.


Jul
3
awarded  Popular Question
Jul
2
awarded  Curious
Feb
13
awarded  Popular Question
Jan
7
awarded  Popular Question
Oct
25
awarded  Yearling
Aug
18
awarded  Altruist
Aug
15
comment Preventing output to /var/log/syslog
This almost does what I personally need, but it's hard to make its behaviour nuanced: I basically want /var/log/remotes/%HOSTNAME%/syslog.log for remotes, but /var/log/syslog if it's from the master. I'm happy to hard-code the FQDN of the master in the config file todo this, but I can't figure out the conditionals.
Aug
15
awarded  Investor
Aug
15
comment Preventing output to /var/log/syslog
I see the same behaviour with lines like this in /etc/rsyslog.conf: $template FILENAME,"/var/log/remotes/%HOSTNAME%/syslog.log" *.* ?FILENAME
Jun
21
comment NTP not syncing in a VM
This is what ticker panic 0 is meant to do, though: "The configuration directive tinker panic 0 instructs NTP not to give up if it sees a large jump in time. This is important for coping with large time drifts and also resuming virtual machines from their suspended state."
Jun
21
asked NTP not syncing in a VM
Jun
2
comment Changing permissions on an NFS mount + sharing directories with a guest VM
Thanks for clarifying things more. I meant that I wanted it not to have any relationship to the permissions on the host system - I didn't realise that NFS was purely remote access, with shared permission bits. bindfs would be great if it standard tools like chmod worked with its permissions. I'll have to look into other ways to setting up a share, I think.
Jun
1
comment Changing permissions on an NFS mount + sharing directories with a guest VM
Will this mean that chown operations on the client will take affect on the host system? I was hoping to use something like bindfs, where permission bits in the client only take affect there.
May
31
revised Changing permissions on an NFS mount + sharing directories with a guest VM
typo in chown example
May
31
comment Changing permissions on an NFS mount + sharing directories with a guest VM
Apologies that it wasn't clear. I've just edited the question to add some more detail.
May
31
revised Changing permissions on an NFS mount + sharing directories with a guest VM
Add some more detail
May
31
asked Changing permissions on an NFS mount + sharing directories with a guest VM
Apr
15
comment How to duplicate a stream and process both parts in a streaming way?
I discovered this just this afternoon, by coincidence. Thanks!
Apr
15
accepted How to duplicate a stream and process both parts in a streaming way?
Apr
15
comment Can't process stdout with pipe as it comes
Great trick, but stdio buffering exists for a good reason, and it's lame that utilities which mess with stuff like isatty() force you to do this.