|
dolicf posted:In that case, no. The hosting industry pretty much universally disables it entirely. We do the same in my shop. SELinux is one of the first things to get turned off on a new install.
|
| # ? Nov 25, 2011 03:52 |
|
|
| # ? May 22, 2013 16:23 |
|
Goon Matchmaker posted:We do the same in my shop. SELinux is one of the first things to get turned off on a new install. Why exactly, do you just not find a benefit to it and want to remove complexity? Or are there actually problems with it?
|
| # ? Nov 25, 2011 03:55 |
|
We don't use SELinux here, but I would see only positive things about an applicant that had spent some of their time learning about it. I do agree that you should know it pretty well before it earns a spot on your resume.
|
| # ? Nov 25, 2011 03:56 |
|
angrytech posted:Why exactly, do you just not find a benefit to it and want to remove complexity? Or are there actually problems with it? A lot of software will break or act strangely with it on, especially large enterprise apps. Rather than spend time figuring out what's wrong it's often easier to just disable it.
|
| # ? Nov 25, 2011 04:31 |
|
Crush posted:This is more of the reason why I asked. I am looking at eventually getting a job as a Linux System Administrator at some point in the future and didn't know if servers (more specifically web servers) kept this enabled and if so, how to comply with it while still accomplishing my tasks. Let me give you a piece of advice if you're really looking to do this: Get experience somehow. GO whore yourself out for a nonprofit for a bit, or something. IT'll make a huge difference when you look for a job. They are great places to learn skills only real experience can teach, and they will be a lot more forgiving of mistakes, since they get you cheap/free.
|
| # ? Nov 25, 2011 05:08 |
|
nitrogen posted:Let me give you a piece of advice if you're really looking to do this: Thanks for the advice. How would I go about looking for places like this though? The only thing that comes to mind is craigslist. Are there any others?
|
| # ? Nov 25, 2011 05:23 |
|
I think the usual way is being somebody's nephew/grandson who is "really good with computers".
|
| # ? Nov 25, 2011 05:27 |
|
Crush posted:Thanks for the advice. How would I go about looking for places like this though? The only thing that comes to mind is craigslist. Are there any others? Ask around. What are you into? Any of those things that you're into have an advocacy group that needs someone? Good friend of mine built up NORML's web presence here in DFW before it became too much of a time sink for her. She wanted an excuse to learn drupal, and she's a huge stoner, so... Back in the early 90's, I set up some network mail and file services for a few local womans' shelters. You learn a lot of skills working like this; especially skills that they don't teach in school. (How to say no, and when is a big one.)
|
| # ? Nov 25, 2011 08:10 |
|
Goon Matchmaker posted:A lot of software will break or act strangely with it on, especially large enterprise apps. Rather than spend time figuring out what's wrong it's often easier to just disable it. I believe you can also put it in permissive mode and get the same effect.
|
| # ? Nov 25, 2011 12:56 |
|
vikingstrike posted:I believe you can also put it in permissive mode and get the same effect. You can, but from experience it will still mess stuff up and be a general pain in the rear end.
|
| # ? Nov 25, 2011 13:02 |
|
spankmeister posted:You can, but from experience it will still mess stuff up and be a general pain in the rear end.
|
| # ? Nov 25, 2011 22:37 |
|
Misogynist posted:It's my impression through a bit of SELinux experience that this is literally not possible. Can you clarify what you mean by "mess stuff up?" Well you see it's because shut up. Nah, kidding. Messing stuff up where when it's in permissive mode some programs will not work correctly, usually from big software vendors. In my case it was Oracle 10g and clearcase 7.0 where disabling selinux would fix this issue, Granted, it's generally a problem with the software rather than selinux but still SELinux has few benefits for most users so it's easier to just disable it entirely.
|
| # ? Nov 26, 2011 00:13 |
|
Someone tell me how to make this script halt if rsync fails for some reason as apparently it doesn't and it hosed me over something big (site went down, no backups).code:Ashex fucked around with this message at Nov 26, 2011 around 18:57 |
| # ? Nov 26, 2011 18:51 |
|
Well, the $? variable contains the exit code of the program that ran immediately before. In your case it's the second find command, which will almost always be successful. You need to do it immediately after the rsync command. You can also store the exit code in a temporary variable and check for succes later using that variable.
|
| # ? Nov 26, 2011 19:54 |
|
spankmeister posted:Well, the $? variable contains the exit code of the program that ran immediately before. In your case it's the second find command, which will almost always be successful. Thanks for that, I'm so used to writing VB that I forget that bash is linear.
|
| # ? Nov 26, 2011 20:03 |
|
I write shell scripts with "set -e" so that they'll automatically stop/fail on any failed command. Combined with "set -x" ("set -ex") I'll know exactly where it dies.
|
| # ? Nov 26, 2011 20:40 |
|
Wouldn't || exit at the end of the rsync line work too?
|
| # ? Nov 26, 2011 22:26 |
|
SELinux tips: you really don't need it unless you're putting a server somewhere very public. Check that you have a credible threat or regulatory requirement before you let your paranoia goad you into configuring it on something in production. There are terrific man pages for getting started configuring a targeted policy. You can then bullet-proof the network service without gimping everything else. man -k _selinux People hate SELinux for the same reason people hate firewalls while troubleshooting a network issue: security gets in the way and it looks like an operational problem. It can be hard to remember when your app's down and everyone's angry that SELinux is quietly stopping your httpd service from starting. As suggested above: if you want to learn SELinux, put it in permissive mode and read logs. If you want to get into security, you better get used to doggedly reading logs.
|
| # ? Nov 27, 2011 12:04 |
|
Cross-posted from the Ubuntu thread, because this could span any distribution: I want to install Lubuntu, but the problem is I want to install it on an old MacBook (2,1). Apparently these MacBooks have a weird hardware/firmware hangup that makes them gently caress up every time they try to boot 64-bit software from removable media or something (Google "select CD-ROM boot type" for more information; here's the Launchpad page). The images list on the Ubuntu website carry some modified ISOs that circumvent this problem, but only for Kubuntu and Ubuntu. They work absolutely fine. Fishing around I discovered that you can extract a normal ISO's contents and repackage it to make it to make it compatible with my machine (here), but the instructions are on a page that doesn't exist anymore. Archive.org just brings me to a broken page. Does anyone know how to do this or have any more information on the problem I'm having?
|
| # ? Nov 28, 2011 05:39 |
|
I've got this laptop that doesn't seem to like any flavor of linux due to the current graphics drivers I think. It's a Toshiba Satellite 5005 series with Geforce 420 Go graphics. I think linux support for this gpu might have been dropped a few years ago. Haiku OS seems to work fine with some basic 2D acceleration using its vesa driver. It even gets the correct native LCD resolution as well. I've been trying to boot Xubuntu 11.10 live desktop but it always goes to a white screen. I can hear the disc still seeking and the lights on my wifi card light up as if it were being initialized. It sounds as if its still working fine in the background but the video is hosed. I had a compaq laptop with very similar specs and the same graphics (I think) that was able to boot ubuntu fine so I think there's something specific to this Toshiba that's causing linux to screw up the graphics. What should I do? Is there any way to use a generic 'vesa' driver like Haiku does? Is this a lost cause? edit: Ok I found this thread on linuxquestions.org quote:Boot to "Safe mode" or whatever it is called now So how do I go about doing that with a live CD? Shaocaholica fucked around with this message at Nov 28, 2011 around 06:41 |
| # ? Nov 28, 2011 06:25 |
|
You can absolutely use "vesa" drivers for your laptop (you will probably have to edit the xrg.conf file) There are two other nvidia drivers available though, nv (no longer maintained, but available) and nouveau (actively maintained, available for Ubuntu as xserver-xorg-video-nouveau). Supposedly nouveau supports your card, if not you might be able to find an older version of the nv or official driver if you want hardware acceleration (probably a bad idea) http://nouveau.freedesktop.org/wiki/CodeNames As far as doing this: quote:Boot to "Safe mode" or whatever it is called now without a live cd though, you can either: First, you could reboot and select the single-user modes Ubuntu should add You could also hit CTRL+ALT+F1/F2/F#/F$ to get to a terminal, login from the command lines, and kill the x server, the sloppy/ easy way to cd to /etc/init.d and run `sudo ./gdm stop` (might be gdm3) Next, go to the /etc/modprobe.d, and either create a new file ending in .conf or add the following lines onto the blacklist one that should be in there code:*Sorry if this isn't 100# accurate, I haven't used Ubuntu recently and, thanks to advancements in recent years, had to hand edit z xorg.conf in awhile, and I'm tired as hell right now edit for more notes: Drivers that support your card: Old NV Driver, basic 2d acceleration and higher supported resolutions over vesa http://xorg.freedesktop.org/wiki/nv Nouveau - Available from ubuntu repo, supports multiple monitors and high resolution, good 2d acceleration and expiremental 3d acceleration http://nouveau.freedesktop.org/wiki/ Generic VESA Driver, poo poo acceleration and has a cap on resolution http://xorg.freedesktop.org/wiki/vesa Generic VGA - Can do 8 bit color at 320x240! http://xorg.freedesktop.org/wiki/vga a;sp here's the wiki page for xorg.conf, if you have any trouble (you shouldnt) http://www.x.org/archive/X11R7.5/do...org.conf.5.html text editor fucked around with this message at Nov 28, 2011 around 10:21 |
| # ? Nov 28, 2011 10:04 |
|
^^ And if the terminal doesn't work you could try to add "nomodeset" to the kernel boot options.
|
| # ? Nov 28, 2011 10:50 |
|
Thanks guys. Actually, it ended up being something else. I tried all sorts of kernel args for the live cd. blacklist=nv,nouveau nomodeset vsync=60 vga=346 etc etc None of them worked. Some combination did get the boot output to render at 1600x1200 but it still killed the gfx when x started. I decided to give the VGA out on the laptop a try and bingo it worked without any custom boot args. It was auto detecting my external LCD correctly and booted to the desktop in full color and resolution. I didn't have time to test anymore but I think I'll install using the external display and update the driver to the closed source driver once installed and see what happens when I disconnect the external display.
|
| # ? Nov 28, 2011 14:41 |
|
For future reference, you can also use the alternate install CD instead of a live CD -- the text-based installer shouldn't have any graphical problems since it doesn't run X. You can then fix your system in whatever way you need to after it's installed and booting.
|
| # ? Nov 28, 2011 15:16 |
|
Mak0rz posted:Cross-posted from the Ubuntu thread, because this could span any distribution: Install regular Ubuntu and then convert to Lubuntu? http://thameera.wordpress.com/2011/...ing-to-lubuntu/
|
| # ? Nov 28, 2011 19:06 |
|
Mak0rz posted:I want to install Lubuntu, but the problem is I want to install it on an old MacBook (2,1). Apparently these MacBooks have a weird hardware/firmware hangup that makes them gently caress up every time they try to boot 64-bit software from removable media or something Can you just boot the 32-bit ISO?
|
| # ? Nov 28, 2011 19:25 |
|
Bob Morales posted:Can you just boot the 32-bit ISO? Maybe, but I want a 64-bit OS. Doing some more research suggests that this is a problem with the boot discs not knowing what to do with a (U)EFI system (which is what my MacBook uses); I don't know the specifics because it's new to me, but I gather that it's essentially the successor to BIOS. Once I figured this out, I came across this guide and was planning on following it along until I ran into this step: ubuntu.com posted:It is strongly recommended to use a Linux distribution to compile grub2-efi and also that the processor architecture of both the kernel and UEFI firmware match. I have a 32-bit EFI, but I'm running a 64-bit version of Ubuntu. Will this matter when compiling GRUB? Thermopyle posted:Install regular Ubuntu and then convert to Lubuntu? Now this looks like a plan though! Am I able to upgrade to future Lubuntu releases using this? Or will the update gently caress up and bring me back to Ubuntu? I'll give it a shot, thanks!
|
| # ? Nov 28, 2011 20:02 |
|
Mak0rz posted:Maybe, but I want a 64-bit OS. Also, Apple hosed almost all the Mini's and Macbooks so that they couldn't load a 64-bit OS for some reason, didn't they? I know the early models can't boot a 64-bit OS but even as the Macbook Pros gained the ability, they locked it out in software or something. http://www.everymac.com/mac-answers...4-bit-mode.html
|
| # ? Nov 28, 2011 20:26 |
|
Bob Morales posted:How old is it, exactly? If it's one of the first couple models, it'll only accept 3GB of RAM anyway. I guess would explain why my system is only reporting 3GB of RAM . Why is that happening? I know there's 4GB in here.Bob Morales posted:Also, Apple hosed almost all the Mini's and Macbooks so that they couldn't load a 64-bit OS for some reason, didn't they? I know the early models can't boot a 64-bit OS but even as the Macbook Pros gained the ability, they locked it out in software or something. The custom 64-bit Mac ISO here worked without a hitch.
|
| # ? Nov 28, 2011 20:30 |
|
Mak0rz posted:I guess would explain why my system is only reporting 3GB of RAM Chipset limitation I think.
|
| # ? Nov 28, 2011 20:37 |
|
Apple's hardware is kinda weird and crappy sometimes.
|
| # ? Nov 28, 2011 20:40 |
|
I'm using a USB wireless dongle with drivers through ndiswrapper. When ubuntu boots half the time it sees my wireless network, which it knows the password to, and connects. Groovy. But occasionally it'll see a neighbor's wireless, which it has never connected to and doesn't know a password for, and prompt me for the password to that. How do I get it to wait the microseconds it takes to see my wireless network and not sit there dumbly waiting for another password?
|
| # ? Nov 29, 2011 02:25 |
|
JawnV6 posted:I'm using a USB wireless dongle with drivers through ndiswrapper. When ubuntu boots half the time it sees my wireless network, which it knows the password to, and connects. Groovy. But occasionally it'll see a neighbor's wireless, which it has never connected to and doesn't know a password for, and prompt me for the password to that. How do I get it to wait the microseconds it takes to see my wireless network and not sit there dumbly waiting for another password?
|
| # ? Nov 29, 2011 05:28 |
|
durp; moved ot the ubuntu thread.
|
| # ? Nov 29, 2011 06:00 |
|
Trying to test out various four port NICs, however, my testing is unsuccessful. I'm using udpcast (udp-sender/udp-receiver) to broadcast traffic to eth1 from eth0, and vice versa. Doesn't matter the configuration, if they are all set to internal with loopback cables, or through a switch, it all seems to work. All the traffic is sending from each eth port, and receiving just fine. Except when... I unplug one of the cables. The connections are still alive. If I remove all the cables, the connections are still alive and going just fine. It appears the NICs I'm using are a bit too intelligent and send traffic to itself on the card. Is there any way around this? Or is there a better way of testing the ports? I would set up two systems, but this is a prototype system with an off the shelf realtek, and various intels.
|
| # ? Nov 29, 2011 17:47 |
|
Uh, so I a game hanged my system in Mint 12 so I hit ctrl+alt+backspace to kill it. Brought me back to the login screen as expected, but now the login screen doesn't have a wallpaper (just a black screen) and over half of my window themes are gone. What the gently caress happened and how do I get this back? EDIT: Also the menu quicklist (on the left side) has completely different items. Mak0rz fucked around with this message at Nov 30, 2011 around 16:57 |
| # ? Nov 30, 2011 16:46 |
|
Zom Aur posted:Linux usually doesn't try to connect to random networks. Maybe you tried connecting to it by mistake. Either way, if you go to the network settings, you should see a profile for you neighbours network. Delete it, and it should never try connecting to it again. No, it's not just connecting to one particular network, it's a random pick. Whichever it sees first I'd imagine. But thank for assuming I'm incompetent and lying about it!
|
| # ? Nov 30, 2011 18:09 |
|
JawnV6 posted:No, it's not just connecting to one particular network, it's a random pick. Whichever it sees first I'd imagine. But thank for assuming I'm incompetent and lying about it! Can you initialise it earlier? I had endless trouble with a USB wireless dongle until I added just a minimum of iwconfig lines to rc.local (essid/mode/ap/rate/key).
|
| # ? Nov 30, 2011 18:20 |
|
JawnV6 posted:I'm using a USB wireless dongle with drivers through ndiswrapper. When ubuntu boots half the time it sees my wireless network, which it knows the password to, and connects. Groovy. But occasionally it'll see a neighbor's wireless, which it has never connected to and doesn't know a password for, and prompt me for the password to that. How do I get it to wait the microseconds it takes to see my wireless network and not sit there dumbly waiting for another password? Are you using network manager? Is there a 'only connect to preferred networks' box you can check?
|
| # ? Nov 30, 2011 18:29 |
|
|
| # ? May 22, 2013 16:23 |
|
JawnV6 posted:No, it's not just connecting to one particular network, it's a random pick. Whichever it sees first I'd imagine. But thank for assuming I'm incompetent and lying about it! No, I wasn't assuming you were incompetent or lying about it, but I've never seen or heard of a behaviour where it connects to random wireless networks either. Never. So unless you're using some kind of unusual software to connect to your network, there's probably (yes, probably, not definitely) something else that's wrong here. So, my guesses are that either you've discovered a bug, or you've configured something wrong. My first guess would be the latter, though the former is also a very valid possibility. There's also the option that this is a feature of whatever software you use (networkmanager, wicd, connman etc.) that I haven't encountered before. So, again I ask, did you check your network profiles? That'd be the first step to ruling out a misconfiguration.
|
| # ? Dec 1, 2011 18:48 |






















. Why is that happening? I know there's 4GB in here.


