In /etc/rc.d, I have the folders rc2.d, rc3.d, and rc5.d, all of which contain symbolic links labeled K21xprint and S21xprint - owned by XOrg according to pacman. Is this stuff necessaru? And is it just me, or is the XOrg PKGBUILD designed to remove these folders, among other things?
m... I don't have those folders, and I use xorg.
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Don't have them here, either.
You know... sometimes reformatting does the job, even in linux.
I admit, it is not the way it should be done, but it gives me a complete new, clean system... for some reason I don't trust the cleaning of pacman since some programs create their conf files run time.
Yeah, sometimes I have to remove stuff from /etc that wasn't removed by pacman (even with -Rscn). Also, removing XOrg will usually orphan a lot of files - libICE.so.6 and the entirety of /usr/X11R6/lib/modules being particularly notable.
Nope. I did have snapshots installed over XOrg previously, though, that could be the source.
(The symlinks are owned by the xorg package though. :? )
doesn't the number denote which runlevel the main /etc/rc.d/rc script is aimed at ?
so instructions for runlevel 3 are in the folder rc3.d etc - unless its causing probs, maybe best to leave them in place.
Yes, the rc?.d directories as you describe are the runlevel control scripts. This method is how it is done in Solaris, among many others. The scripts that begin with a K are run with a "stop" flag when entering that runlevel, and the ones starting S are run with a "start".
However, since arch uses one overall rc.conf file instead I'm not sure why you'd need those individual runlevel directories in arch?
you dont need them. if you installed from source, likely they are artificts of the 'make install'. A pkgbuild for such a peice of software would require customization, most likely.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
# exorcise the SysV demons and set up environment stuff
rm -rf $startdir/pkg/etc/rc.d/rc?.d
In other words, these directories are removed from the standard Arch xorg build during packaging - this kind of behaviour is necessary when an app automatically creates a SysV-style init setup (a la Solaris, Debian, etc) instead of the BSD-style one that we use around here.
Whatever the reason for them remaining on your system, they can be removed safely - Arch doesn't touch them.