2012-10-14
some notes about fedora 18
fedora |
I installed fedora 18 Beta TC4 LXDE spin today. That works fine for me :) So I am running it on my daily used desktop.
However I needed to some search to use it as I did with fedora 17. This is my memo but I hope it'll help someone.
To enable sysrq
I usually enable sysrq feature so I tried to modify /etc/sysctl.conf but there is no such file in /etc. I checked fedora 17 and did "rpm -qf /etc/sysctl.conf" then I got the answer. This file is provided by initscripts package. That seems as if Fedora 17's initscripts package gives it but Fedora 18's is not.
I thought specification has changed. Therefore I check .spec file then I found the answer in its changelog. It says "move default sysctl.conf to /usr/lib/sysctl.d (#760254)" .I checked that directory and found "00-system.conf" that was the file I was looking for. So I could enable sysrq from file.
I use Google Chrome as default browser for linux, mac, and windows. Of course I installed it but it didn't work on fedora 18.
When I started chrome from terminal I got following message.
/bin/google-chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
That is easy to understand :) I have installed /usr/lib64/libudev.so.1.1.5 instead of libudev.so.0. so I created a symbolic link then chrome works fine.
btw, libudev provides libudev.so.0 file on Fedora 17. However, systemd-libs provides libudev.so.1 on Fedora 18.
If you run sshd on your Fedora 18 machine, and ssh client gets this error, you may need to check your selinux policy.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
If you run desktop, you can see sealert icon on your desktop panel or somewhare in your desktop. Or you can check /var/log/messages.
Anyway, I found this line in /var/log/messages.
Oct 14 13:33:55 saga setroubleshoot: SELinux is preventing /usr/sbin/sshd from search access on the directory .ssh. For complete SELinux messages. run sealert -l 4e85c433-8d6d-4b63-8afe-9d3927b088e9
So I followed this instruction. Actually I had some alerts so that I ran sealert command some times but I was able to solve ssh connection problem :)
# Of course if your .ssh or file permission is wrong, you cannot access to your ssh host.
- 1294 https://www.google.co.jp/
- 1024 http://askubuntu.com/questions/140307/lubuntu-keyboard-shortcut-for-menu
- 1017 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=12&ved=0CCwQFjABOAo&url=http://d.hatena.ne.jp/masami256/20100424/1272070382&ei=odB6ULOxF-PMmgW_mICQDA&usg=AFQjCNHF1iRHKIuOG8hcLs8kwIaKTHsgsg
- 526 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCwQFjAB&url=http://d.hatena.ne.jp/masami256/20100303/1267615931&ei=lbV7UJOoKKnLmAWgv4HQBw&usg=AFQjCNHPBPhN0qesXNJGGh8TTlevC304xg&sig2=j6IYkAgdmoY66nSoGVymFA&cad=rja
- 230 http://start.fedoraproject.org/
- 213 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CDIQFjAC&url=http://d.hatena.ne.jp/masami256/20100603/1275571389&ei=j7t6UL2lCe_DmQWD-4HwAw&usg=AFQjCNGS0T4hb6XFG_HwWJ1t8F75VRO6_Q
- 187 https://www.google.com/
- 173 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=2&ved=0CEAQFjAB&url=http://d.hatena.ne.jp/masami256/20100315/1268662409&ei=cHB7UPjgDciJmQX1vYGoAg&usg=AFQjCNFxE_llOKjn50zT9dsbRuQYgFid7Q&sig2=hA5sjPeJ0TDjiahCRim1mQ
- 107 http://www.google.co.jp/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CD8QFjAD&url=http://d.hatena.ne.jp/masami256/20090625/1245938650&ei=XNd-UOGmIsaKmwWT24CACQ&usg=AFQjCNGU0EWxzUrwJQTkuQXg25Dj88TZqQ
- 100 http://www.google.co.jp/url?sa=t&rct=j&q=double+free+or+corruption&source=web&cd=2&cad=rja&ved=0CCsQFjAB&url=http://d.hatena.ne.jp/masami256/20100130/1264858832&ei=cXx7UI7dBeqZmQWKiID4BA&usg=AFQjCNGbK5Reu1-yiGhlFJKhpYj2g8FXsg

The change in that bug is to bring sysctl more in line with other things, where system/distro defaults are in /usr and administrator changes are in /etc.
So to change sysctl, you can just create /etc/sysctl.conf, or, more generically, you can add /etc/sysctl.d/<filename>.