groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #crux
XXX1232 has joined #crux
SiFuh has joined #crux
pedja has quit [Quit: Leaving]
SiFuh has quit [Ping timeout: 250 seconds]
SiFuh has joined #crux
ivandi has quit [Quit: WeeChat 3.4]
_moth_ has quit [Remote host closed the connection]
_moth_ has joined #crux
ivandi has joined #crux
Guest92 has joined #crux
<Guest92>
good morning all... a new crux user here. trying to set up prt-get to run with fakeroot but so far not successful. i can't even login as pkgmk because the shell is /bin/fake so it just kicks me out...
pvn1 has joined #crux
_moth_1 has joined #crux
Poorchop_ has joined #crux
zz812 has joined #crux
_moth_ has quit [*.net *.split]
z812 has quit [*.net *.split]
Poorchop has quit [*.net *.split]
ardo has quit [*.net *.split]
[R] has quit [*.net *.split]
pvn has quit [*.net *.split]
zz812 is now known as z812
_moth_1 is now known as _moth_
Poorchop_ is now known as Poorchop
ardo has joined #crux
[RMS] has joined #crux
[RMS] is now known as Guest9702
groovy2shoes has quit [Ping timeout: 240 seconds]
_moth_ has quit [Remote host closed the connection]
_moth_ has joined #crux
<Guest92>
I think I figured it out... If any user runs prt-get, it runs in fakeroot as pkgmk. Pretty slick.
groovy2shoes has joined #crux
<braewoods>
Guest92: more correctly, it runs fakeroot as pkgmk. fakeroot runs with the privileges of whatever user ran it, fakeroot just wraps system calls to pretend to be root for stuff that doesn't need real root.
<braewoods>
incidentally fakeroot will not work with static binaries
<braewoods>
only dynamically linked ones
<Guest92>
oh, good to know.
<Guest92>
how would I run it not using fakeroot? modify pkgmk.conf?
<braewoods>
i wouldn't recommend it. fakeroot exists for one main reason. to ensure that the files copied into the package are owned by "root" without actually having real root.
<braewoods>
it solves a lot of permission issues.
<braewoods>
also to trick some programs like tar into archiving full file permissions and more.
<Guest92>
i can't get my sound to work... dmesg shows audio devices but aplay -l does not find any devices...
<Guest92>
oh, i just saw that dmesg says hdaudio Unable to bind the codec
<Guest92>
Could it be that my Kernel got compiled without support for audio codec needed?
ppetrov^ has joined #crux
<braewoods>
Guest92: usually that means you missed something
<Guest92>
braewoods, how do I troubleshoot it? what to look for?...
<Guest92>
i am going through my kernel .config file and looking for what is turned on for codecs
<Guest92>
another unrelated question... how come sudo shutdown does not work on my regular user... but shutdown as root works just fine.
<braewoods>
Guest92: i honestly can't answer that. i stopped trying to custom kernels to each device as it's not usually worth it.
<braewoods>
but that implies you didn't enable the right type of hd audio.
<braewoods>
x86 pcs have so many resources, especially ram/storage, that wasting a little to have a general purpose kernel just makes more sense.
<braewoods>
especially if you use modular kernels
<Guest92>
braewoods, how do you do a general purpose kernel? do you just get a distribution kernel?
_moth_ has quit [Remote host closed the connection]
<ppetrov^>
Guest92, is you user in the wheel group?
_moth_ has joined #crux
<braewoods>
Guest92: up to you, you basically enable most stuff. but usually someone else's config is probably more practical.
<braewoods>
i still think crux should have a managed kernel for their new users
<braewoods>
kernel config is hard to get right
<ppetrov^>
yep, you are so right on that
<ppetrov^>
I shamelessly take Slackware's .config and adapt it
<Guest92>
ppetrov^, my user is not in the wheel group, i just added. will try out shudown in a little bit
<Guest92>
is Slackware's config published online or you have to create an installation medium?
<ppetrov^>
from these, I use the config-generic, taht is meant for x64
<ppetrov^>
e.g. config-generic-5.15.17.x64
<ppetrov^>
make sure you build in your root partition's file system support in the kernel
<ppetrov^>
also check versions, I don't know what kernel version you are using
<Guest92>
Thanks. I will try one of the generics. i am on 5.40.80
<ppetrov^>
check gcc version configuration in the kernel, etc
<ppetrov^>
ok, so you just make oldconfig
<Guest92>
i mean 5.4.80
<ppetrov^>
ah, then, using a config for a newer kernel may e a problem
<Guest92>
and i can have various versions of the kernel in my /boot, is that right?
<ppetrov^>
well, yes i think
<ppetrov^>
make sure you get the x64 config. In the beginning, when I installed CRUX, i had downloaded the one for 32bit. I was an idiot, wondering what was wrong
<Guest92>
okay, cool. i get a kick out of stripping down the kernel but the slack version could be a good starting point.
<Guest92>
do you guys install binary packages or stick to compiling from source?
<SiFuh>
Some of the larger ports have a binary option <package>-bin
<ppetrov^>
like rust
<ppetrov^>
Guest92, I have a relatively nice CPU, so I build everything from source. However, I prepare a packages repo, so I install these on my ancient ThinkPad