Hopefully not again

So I was installing java using fedy from fedora, and, the terminal says "installing" but the whole computer froze. Mouse won't move at all, windows button doesn't do anything, not even my HDD indicator lite on the front of my case is working. I don't want to turn off my computer because I already corrupted fedora once, I don't want to do it again. Someone, please help. 

If the computer won't accept input, you're down to two options.  Turn it off, don't turn it off.  One involves you waiting an unspecified amount of time hoping it rights itself, seems unlikely, the other you crossing your fingers hoping it boots up again afterwards.  Your call...

Okay when you first installed did you do update the system, and may I suggest scrapping fedora and going to korora Linux? Its a bit more user friendly than fedora, you shouldn't encounter half of the issues you are on there :)

I did what Evil genius said to do... It was frozen for 3 hours and didn't look like it would of recovered. After I restarted it, I chose the fedora rescue and it seemed to work. I may have not corrupted my fedora partition again. 

I'm only one fedora because of its newest kernal, it being popular, and its "bleeding edge" features (as I've heard from others). 

Check your SELinux logs, you probably had a protocol violation and SELinux blocked it.

If something "freezes" in Fedora, you can be 99% sure it's because of a SELinux violation.

You can use the SELinux problem solver to solve a specific freeze, but with proprietary closed source software it's better to just wait a day or so for a new update with an adapted selinux profile library.

Also check whether your selinux update didn't fail. If you use a lot of closed source software, sometimes your system adapts to that software, and you have to update selinux-policy by the following procedure:

go to terminal

su -

setenforce 0

yum update selinux-policy

setenforce 1

exit

That temporarily sets SELinux to permissive mode, just to update the selinux-policy, and afterwards, sets it back to enforcing mode again.

With the changes in Fedora and OpenSuSE (basically, Fedora is becoming less of a community distro and is being integrated in RedHat, and OpenSuSE is the other way around, they can't use paid SuSE devs anymore from now on, and have to do everything with the community in spare time, so they have already announced that they will only be releasing once a year at most), that basically amount to RedHat and Novell trying to force their customers to pay for commercial versions of their favourite distros in order to get the latest and greatest or a custom spin or even a functional system, which is not such a great concept in an open source software market, it's probably better to just forget about Fedora and OpenSuSE before it gets out of hand.

I would recommend Mageia. Mageia 4 is just out, it's completely independent, it's not forked or based of a US distro, and it has some great features:

1. It's not a political distro, so it ships with proprietary graphics drivers and non-free licensed software already pre-configured, and Steam is in the standard repos.

2. It uses the drake tools, which means a very easy to use installer and the drake configuration center, which centralizes all settings for the system, hardware and software, into one single GUI application. You don't ever need to use the terminal windows if you don't want to.

3. It's an RPM distro, so quality packages. If you want to use terminal, use "urpmi" instead of "yum install" and "urpme" instead of "yum remove", but now get this: if you're in the wrong mode (user or root), it will give you a bash not found error, which means that the tools themselves are not accessible for the wrong category of user. This is a great feature for total n00bs, because it means that they will not even be able to use root where they shouldn't for certain tasks, and they will not be able to even run root access requiring commands in the user shell.

4. It has a very nifty feature called MSEC, it's a daemon that constantly checks the entire system for security risks. Those can be unfavorable configurations, harmful programs, etc... Very good feature for people that don't even want to understand the system but just use it.

5. It offers all major desktop environments as primary spins.

6. Mageia 4 ships with kernel 3.12.8, so no medieval kernels. All packages are pretty up to current version, it's not a real bleeding edge distro, but very close.

I myself have made the decision to wait a couple more weeks for some small bugs to be lifted from Mageia 4, and then all my company production machines will be migrated from RHEL 6 to Mageia 4. All my Fedora PC's have already been migrated to Sabayon. I wouldn't recommend Sabayon to most n00b users though, it's quite a step up in terms of complexity and manual configuration. It's more something for people that have been using linux as their only operating system for several years and that have a thorough understanding of how linux works. Sabayon is easy to use, but not easy to finetune, and part of the Gentoo-advantage is the fact that it allows for more finetuning. Intermediate users should probably stick with Manjaro on standalone PC's, it's much less complex, but therefore not much slower performing in the XFCE edition. Speed freaks that also want all the bling things, and are really very enthusiastic about computing, should nevertheless take a look at Gentoo, maybe in the form of Sabayon for ease of use and installation, because it does save a lot of time in my opinion.

In the open source world, it's normal to always use the software that works best. Things may change, so what works best may change. It's very easy to switch distros like it's very easy to switch applications. The only way is forward. As soon as corporations start to lay down the law on the development of an open source product, the product is pretty much screwed. That happened with OpenOffice, which was super popular, but in a few months time, was completely replaced with LibreOffice, which is now a lot better than OpenOffice. That also happened with MySQL, which is being substituted everywhere with MariaDB. There is no real adaptation required of the user, it's just a name change and a repo change. Same with distros, you can have any DE on any distro, changing distros doesn't change a lot in the user experience, quite on the contrary, I find that when there are corporate changes to a distro, the user experience generally suffers from that, and a change of distro can prevent that, and provide the very same experience as before the corporate change.

  • How would I check my selinux logs?
  • What is Selinux?
  • I may getMegeia and try it out to see how good it is.
  • Are you a Linux god, Zoltan? 

2. SElinux stands for Security Enhanced linux. It modifies the usual permissions that you get in the linux kernel (read, or 1, write, or 2, execute, or 4, or any combination, like 7 = 1+2+4=execute+write+read), classified as DAC - Discretionary Access Control, to a more secure environment using MAC type permissions, or Mandatory Access Control. Here: https://wiki.archlinux.org/index.php/SELinux. Read the concept chapter.

Basically, even if you are using sudo as a normal sudo-enabled user, you are still bound by the permissions set up by the system administrator. The only way to get past those is to log in as root and change the said permissions.

EDIT: until Zoltan (or someone in the know) answers you, if I were to use SELinux and I needed to check the SELinux logs, I would do it with this command

journalctl -b|grep selinux

It shows all the systemd log messages that have selinux in them.

EDIT2: ignore me and do what Zoltan told you.

there is an application already installed on your system called selinux problem solver

you'll find everything you need there

selinux is a MAC. browse through the forum for a full explanation, it's been explained in full length

mageia 4 still has some quirks, some are quite obnoxious (like you can't start fucking kate, and because nano is not around, you have to dick around with vi to add discard in fstab for instance, and yes I realize that this is a weird sentence). I would wait until next weekend to try out Mageia 4, vi is to be considered advanced linux necrophilia.

i'm not even a computer specialist, mate, just a regular long-time linux user.

selinux is a MAC, the user/root privilege system is part of the DAC. All linux distros have a DAC, only some have a MAC, of those that have a MAC, the enterprise grade ones use SELinux. It's basically process- and application-specific system access. Whether root or not, certain processes should not access anything else than they were made to normally access.

SELinux was developed by the NSA, for the moment it's by far the best MAC in existence.