Skip to content

u/DMBuce

In this archive from Dec 2011 to Nov 2016

5
posts
13
comments
1
media
104
score

Use /lib.bak/ld-linux-x86-64.so.2 as an interpreter for any ELF binaries you need to run. e.g. on my system,

$ /lib/ld-linux-x86-64.so.2 /usr/bin/file /usr/bin/file
/usr/bin/file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x41e58e7d74056c470a5dc467eb3281fa721fde42, stripped

EDIT: In case that example is too far removed from the situation at hand, an example of something you actually might want to do is /lib.bak/ld-linux-x86-64.so.2 /bin/mv /lib.bak /lib

46 points

This is a long shot, but I once had the reverse problem, where my system would reboot whenever I tried to halt it. The issue was that I added a RUNLEVEL=$(runlevel) in my rc.conf that buggered up initscripts, since they use that variable internally.

So if you're doing anything fancy in rc.conf, see if you're accidentally clobbering any variables used by /etc/rc.*.

Also, in addition to checking the behavior of shutdown and poweroff as suggested by others, check init 6's behavior as well.

4 points

Do you or someone else using urxvt know what font I need to use in order to properly display the look of disapproval (ಠ_ಠ)? I know ttf-indic-otf is the package I needed to get it working in firfox, but I'm not sure which font in that package it is. pacman -Ql ttf-indic-otf gives:

ttf-indic-otf /usr/
ttf-indic-otf /usr/share/
ttf-indic-otf /usr/share/fonts/
ttf-indic-otf /usr/share/fonts/TTF/
ttf-indic-otf /usr/share/fonts/TTF/AkaashNormal.ttf
ttf-indic-otf /usr/share/fonts/TTF/Gargi-1.2b.ttf
ttf-indic-otf /usr/share/fonts/TTF/GurbaniBoliLite.ttf
ttf-indic-otf /usr/share/fonts/TTF/LikhanNormal.ttf
ttf-indic-otf /usr/share/fonts/TTF/MalOtf.ttf
ttf-indic-otf /usr/share/fonts/TTF/MuktiNarrow.ttf
ttf-indic-otf /usr/share/fonts/TTF/MuktiNarrowBold.ttf
ttf-indic-otf /usr/share/fonts/TTF/Pothana2000.ttf
ttf-indic-otf /usr/share/fonts/TTF/SagarNormal.ttf
ttf-indic-otf /usr/share/fonts/TTF/Sampige.ttf
ttf-indic-otf /usr/share/fonts/TTF/TAMu_Kadampari.ttf
ttf-indic-otf /usr/share/fonts/TTF/TAMu_Kalyani.ttf
ttf-indic-otf /usr/share/fonts/TTF/TAMu_Maduram.ttf
ttf-indic-otf /usr/share/fonts/TTF/TSCu_Comic.ttf
ttf-indic-otf /usr/share/fonts/TTF/TSCu_Paranar.ttf
ttf-indic-otf /usr/share/fonts/TTF/TSCu_Times.ttf
ttf-indic-otf /usr/share/fonts/TTF/TSCu_paranarb.ttf
ttf-indic-otf /usr/share/fonts/TTF/TSCu_paranari.ttf
ttf-indic-otf /usr/share/fonts/TTF/akruti1.ttf
ttf-indic-otf /usr/share/fonts/TTF/akruti1b.ttf
ttf-indic-otf /usr/share/fonts/TTF/akruti2.ttf
ttf-indic-otf /usr/share/fonts/TTF/akruti2b.ttf
ttf-indic-otf /usr/share/fonts/TTF/ani.ttf
ttf-indic-otf /usr/share/fonts/TTF/gbolilite.ttf
ttf-indic-otf /usr/share/fonts/TTF/mal1-b.ttf
ttf-indic-otf /usr/share/fonts/TTF/mal1-n.ttf
ttf-indic-otf /usr/share/fonts/TTF/mal2-b.ttf
ttf-indic-otf /usr/share/fonts/TTF/mal2-n.ttf
ttf-indic-otf /usr/share/fonts/TTF/malayalam.ttf
ttf-indic-otf /usr/share/fonts/TTF/oriya.ttf
ttf-indic-otf /usr/share/fonts/TTF/padmaa-Bold-0.5.ttf
ttf-indic-otf /usr/share/fonts/TTF/padmaa-Medium-0.5.ttf
1 points

What I do: my .bashrc for both root and my regular user has these lines in it:

for file in /usr/local/etc/bashrc.d/*.sh
do
    [ -r "$file" ] && . "$file"
done

Then I just drop whatever common aliases and functions I want shared across users in a shell script in /usr/local/etc/bashrc.d. All the files are owned by root, so command injection isn't possible (unless root is compromised, in which case I'm pwned anyway).

4 points

The link in your response to paraffin is exactly why I use cower -- it doesn't try to automatically compile or install packages for you, so you have to try really hard to shoot yourself in the foot. For my use case, cower is just a download helper that grabs packages by name, instead of by URL.

But to each their own.

1 points

preferring simply to use wget and makepkg

I used to use wget until I got sick of navigating to the aur in a browser, copying the tarball link, and pasting it into my terminal. These days I use cower.

I still navigate to the AUR via browser when first installing a package to read the comments, or if any problems arise, but it's nice not to have to switch applications when you're recompiling a dozen packages.

2 points

I'd like to see more documentation and/or better support for various HIDS (Host Intrustion Detection Systems). OSSEC, Tripwire, and samhain are in the AUR (Tripwire is orphaned), but I don't see pages for any of them on ArchWiki.

7 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.