Reputation
447
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 12
Impact
~171k people reached

  • 0 posts edited
  • 0 helpful flags
  • 113 votes cast
May
24
comment Is there a point in using Prelink anymore?
@astara true, but the growth in library use is not as fast as the growth in harddisk and memory speed.
Apr
18
comment DST Morocco, a way to trick NTP server
Upvoted because of craziness :) I'm happy I don't have to manage that! PS: Don't do 5, it makes systems think UTC is something it's not and that will likely break SSL.
Jan
21
comment How can I execute a bash function with sudo?
@ConspicuousCompiler thanks for the hint, done.
May
30
comment How do I sudo over sshfs?
ssh host sudo -v doesn't make my sudo happy - it wants a tty before it lets me sudo. Thoughts?
Jan
5
comment How to daemonize a shell task?
See serverfault.com/questions/311593/…
Aug
28
comment haproxy + stunnel + keep-alive?
However, if you need websockets then nginx will not work.
Jul
4
comment Port forwarding with DNAT and SNAT without touching other packets
Or I could combine the current SNAT rule with the mark right? Excellent, didn't know about marking!
Jul
3
comment Port forwarding with DNAT and SNAT without touching other packets
Thanks, in general you're right but in this particular case I actually I do want to NAT ;-). The routing is for private subnets and the port NAT has to appear to come from within the private subnet.
Feb
13
comment Cheap but Highly Available Shared Storage?
@FlorenzKley, hardly cheap but interesting, thanks :)
Feb
13
comment Cheap but Highly Available Shared Storage?
:-O Too localized? Is the group wanting cheap but highly available storage that small?
Oct
17
comment Keeping a linux process running after I logout
@JeremyVisser that sounds really plausible!
Oct
17
comment init script that logs output of the script
Sure, I meant like this: /var/customDaemon &> /dev/null 1<&- &
Oct
16
comment init script that logs output of the script
I would add a 1<&- in front of the final & so that stdin is closed for the daemon. Helps when starting it from the command line.
Oct
11
comment Monitoring ZFS-FUSE
Are both systems similar (memory/disk)? Are you using different features (compression/deduplication)? You can also try compiling it from source, see zfs-fuse.net and the alternative repositories it mentions.
Sep
19
comment Keeping a linux process running after I logout
And to be honest I don't really know why this daemonizes the thing you're running :-) It does work though, we use it in production. I discovered it while messing around hoping I could daemonize a process in shell without needing anything special - so I started by closing stdin and that was enough. I should go read some shell sources but I presume that if you close stdin and background the process, it also detaches the process.
Sep
19
comment Keeping a linux process running after I logout
When you do x<&-, that closes file descriptor x. In this case there is no x, which makes bash default to 1, i.e. standard input. If you use </dev/null you're not closing stdin, you're just giving an empty file to the program as input.
Sep
16
comment Keeping a linux process running after I logout
see my answer showing how to do it it with any sh-lookalike
Jul
30
comment need advice for storing data setup hardware for client with 80TB per year of data footprint increase
You know, sales blurbs are actually not very readable. A condensed version with the pertinent facts would have gotten a vote from me.
Jul
30
comment screen / autossh question: easiest way to transparently integrate screen into my ssh?
Actually I never heard of autossh up till now, so perhaps that makes that second command line a whole lot simpler, just replace ssh with autossh in the myscreen alias
May
7
comment Is there a way to do something like LVM over NFS?
BTW regarding the NFS mounts dropping, you could create a RAID5 set with dmraid, but you'd need to do some testing on how well that actually holds up.