Reputation
1,105
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 11
Newest
 Yearling
Impact
~55k people reached

  • 0 posts edited
  • 0 helpful flags
  • 115 votes cast
Jun
3
comment What could be causing a delay between running passwd and being able to login with that password?
@Dan is this machine using NIS by any chance does ypwhich return anything? You said the users are local, but what if those users are shared over NIS? It sounds like you already looked at /etc/nsswitch.conf and said that files comes before winbind, but is anything before files?
Jun
3
comment How to monitor the opening and closing of files?
@turtleDev If you don't know where the files are, this can get messy since you definitely don't want to listen to /. Is it possible to assume $HOME? Or maybe you can look at directories opened by the music player process... I also think the lsof/psutil stuff that was discussed previously could work if you poll every N seconds, where N is much shorter than most songs.
Jun
3
comment xrandr not activating laptop display
Cool, glad it works! You are probably doing this already, but if you have xbacklight installed, you can add that after your xrandr command to flip the backlight on.
Jun
3
comment xrandr not activating laptop display
What about giving HDM1 --auto instead of --off? Sorry, hard for me to find what would work on your hardware :-/
Feb
6
comment urxvt - force column width
@Mikel I'm using awesome wm and I definitely agree that's what's going on, I'm just wondering if there's a way to make urxvt scale my font to fit a certain character length/width.
Dec
9
comment md raid1 ext3 and 4k sectors slow with directory operations
Nearly a year later, the new enclosure is still holding up. I would definitely say it was the power issue.
Dec
3
comment Sendmail shell script not working
@tamani sorry, I don't understand "no logging." Is it possible for you to get the output when cron executes the script? Many versions of cron will mail the user if the job fails.
Feb
9
comment Is there a good benchmark for virtual memory performance?
Thanks! STREAM is my go-to benchmark for memory and definitely a good way to indirectly measure this sort of thing. Not sure if it's really sensible to look for something as low-level as I'm interested, but I'm a fan of microbenchmarks :-)
Feb
5
comment How to beat GRUB2 into submission?
Thanks! I have tried a number in the past, but that number was '14' and did not work. However, a lower-ordered number (e.g. '2') does work. This lines up with the first-match hypothesis. I generally try to stay away from using numbers to avoid the non-determinism inherent with using automatically enumerated identifiers.
Feb
3
comment How to beat GRUB2 into submission?
Thanks! I'm now trying to find a way to incorporate this into /etc/grub.d as this is a shared machine and I don't want someone clobbering my config by updating the kernel, etc...
Feb
3
comment How to beat GRUB2 into submission?
@ElliottFrisch - I miss lilo, reminds me of my much simpler slackware days
Feb
3
comment How to beat GRUB2 into submission?
Is it possible to script (i.e. not using sed or perl) booting into different kernels using syslinux? I'm looking to switch back and forth from Xen programmatically.
Nov
21
comment md raid1 ext3 and 4k sectors slow with directory operations
Okay, will check when I get home. I'm using ext3 because I'm still (possibly unjustifiably so) concerned with the reliability of ext4.
Nov
20
comment md raid1 ext3 and 4k sectors slow with directory operations
I should also add that the lights on the eSATA drives never turn off, md is keeping them quite busy (though I am running things that are likely producing log files)
Jun
20
comment Is it possible to view media on the console?
Those packages write to the framebuffer (hence the fb) via a graphics driver, not strictly the Linux text terminal driver - but it is the "graphics console" in one sense (not sure if that counts as tty). Either way, great find :-)
Jun
14
comment can't ssh into remote host with root, password incorrect
what distribution? Also, are you logging in on a local terminal or trying to ssh as root to localhost? PermitRootLogin doesn't care if you start at localhost.
Jun
4
comment puppet certificate catching error
seems like an ntp server is running on the master. Can you install ntp on the agent and configure it to point to the master (e.g. server MASTERIP in /etc/ntp.conf)?
Jun
4
comment Prevent creating directories but allow creating files
+1 for the portable method
Jun
4
comment puppet certificate catching error
Are you running ntp? If not, can you run ntpdate pool.ntp.org on both servers?
May
4
comment Can I share /usr/local between multiple Linux distributions?
If you're doing a bind mount of /boot, I don't believe that would affect the bootloader unless you try running grub-install or update-grub (depending on the version) and it reads from the newly mounted one. (see linux.die.net/man/8/grub-install). But overall, I believe I have gotten away with running one /boot partition. You will probably want to look at this guide: garron.me/en/linux/… or something similar for dual-booting two Linux installations.