183 reputation
19
bio website biggianteye.wordpress.com
location
age
visits member for 3 years
seen 16 hours ago

Sep
23
comment How can I create a local function in my bashrc?
This won't work if do_stuff is used inside another function. When you call that function, you will get bash: do_stuff: command not found. I know this isn't the exact case the op was talking about but it's worth pointing out.
Sep
16
comment Restricting access to just CVS and Git commands
@Gilles Actually, I have been reading "Git on the Server - Setting Up the Server" and it is suggesting using a single user (called git) for all users. So my concerns about using a single account are still there.
Sep
13
comment Restricting access to just CVS and Git commands
Oh, I guess I misunderstood then. Two accounts for each person would be very annoying for everyone involved. I guess I also don't understand what is meant by "You typically see things like git@gitserver.com as the frontend user when interacting with the repo." I interpreted that line as one account used by all.
Sep
12
comment Restricting access to just CVS and Git commands
cvs uses OS user names to identify committers and so I would never have thought of using a single account for git. It's an interesting idea. Is that seen as good practise? The idea of using a single account for multiple people makes me wary.
Sep
11
asked Restricting access to just CVS and Git commands
Sep
11
awarded  Informed
Sep
3
comment Installing Epel repository on CentOS fails
Related: stackoverflow.com/questions/25642071/… This looks to be a temporary breakage of the epel repository.
Jan
3
comment FedUp, unable to upgrade to Fedora 20
"it seems to do an upgrade to the same version 20 instead." The downloaded files are stored in /var/tmp/system-upgrade and it won't download the F19 ones unless you delete the existing files.
Dec
8
comment Can I somehow add a “&& prog2” to an already running prog1?
if you suspend again before it ends and do the same thing with a different command, does the initial chaining of mycleanup get replaced?
Oct
31
comment How do I stop bash from hanging when trying to start programmes while NFS is disrupted
So it turns out that one of the directories on my PATH was actually a symlink into one of the NFS mounts. I had forgotten I had done that. strace -e file helped me to identify it, so thanks @ninjalj for adding another tool to my toolbox.
Oct
30
comment How do I stop bash from hanging when trying to start programmes while NFS is disrupted
When it was hung I ran strace on a bash process and then tried to run something. I didn't spot anything obviously wrong in the output. I'll try file tracing next time it happens. (Also thanks for making me aware of -e!)
Oct
30
asked How do I stop bash from hanging when trying to start programmes while NFS is disrupted
Aug
24
comment Run a command before services are started
I ended up just doing mount -o remount /dev/shm in the Oracle startup script (with a comment point to the bugzilla entry) as I didn't find a better option. Thanks for the suggestion @vonbrand
Aug
6
comment Change /dev/sd* for USB Linux install?
I am currently experiencing this too (but with Oracle Linux). While I understand the sdX labelling is unreliable, unfortunately grub is treating the USB stick as (hd0,0) and the local disk as (hd1,0), meaning that when the machine reboots without the stick, it can't find the OS as at that point there is no (hd1,0).
Apr
24
comment Remove duplicate $PATH entries with awk command
Do you mean -f instead of -g. Using bash 3 and 4 I can't see -g as an option but can see -f which is the equivalent of the noglob option.
Apr
1
comment BUG: soft lockup - CPU# stuck for x seconds
What do those kernel parameters do?
Feb
7
comment Run a command before services are started
@schaiba Also, is it the shortest path? That's part of what I'm trying to work out here.
Feb
7
comment Run a command before services are started
It's a single command I want to run (a remount). Adding a service seems pointless overhead. Some background that I didn't add is that what I'm creating is an image for a system that will be deployed in multiple locations and managed by people who aren't me.
Feb
7
revised Run a command before services are started
Rewording the last part and adding another idea which I want to avoid.
Feb
7
asked Run a command before services are started