I have been running Fedora 15 for a few weeks. I had not used Fedora for a long time, and have some questions about what is going on.
1) When I reboot the system the ntpd, httpd, and sshd daemons are not running. I can start them easily by running the scripts in the /etc/init.d directory. I understand that systemd is being used and these scripts are probably not generally used. How to it get systemd to include these processes at startup.
2) I can see using 'netstat -lt' that I have listening ports for these servers (once I started them) as Foreign Address *:*. I can access them locally, but I can not connect to them from my local network. At first I thought it had something to do with SELinux, but I am running it in permissive mode.
3) SELinux spits out all kinds of strange denied access messages like (looking in the audit.log) like login wanting to execute /bin/bash. I had to put SELinux in permissive mode in order to even login. I tried shutting it off, but then I could not even boot the system. What is going on? The only odd thing about my system that I can think of is that the timestamps have gotten out of wack due to ntpd not starting up and my clock drifting into way in the future.
Thank you.
On Tue, 05.04.11 20:41, Barry Fishman (barry_fishman@acm.org) wrote:
I have been running Fedora 15 for a few weeks. I had not used Fedora for a long time, and have some questions about what is going on.
- When I reboot the system the ntpd, httpd, and sshd daemons are not
running. I can start them easily by running the scripts in the /etc/init.d directory. I understand that systemd is being used and these scripts are probably not generally used. How to it get systemd to include these processes at startup.
systemctl enable ntpd.service httpd.service sshd.service
(though the traditional "chkconfig ntpd on ; chkconfig httpd on ; chkconfig sshd on" will work too.
- I can see using 'netstat -lt' that I have listening ports for
these servers (once I started them) as Foreign Address *:*. I can access them locally, but I can not connect to them from my local network. At first I thought it had something to do with SELinux, but I am running it in permissive mode.
Stop your Firewall:
systemctl stop iptables.service
(or traditional: "service iptables stop")
- SELinux spits out all kinds of strange denied access messages like
(looking in the audit.log) like login wanting to execute /bin/bash. I had to put SELinux in permissive mode in order to even login. I tried shutting it off, but then I could not even boot the system. What is going on? The only odd thing about my system that I can think of is that the timestamps have gotten out of wack due to ntpd not starting up and my clock drifting into way in the future.
Use the newest selinux policy package from bodhi (3.9.16-12).
Lennart
First thanks for the answers to my previous questions. Everything worked perfectly.
1) In gnome-shell, where is the "favorites" information placed?
I can stick thing in favorites by selecting that when right clicking on the icon, but I cannot seem to see where that information gets stored under my home directory.
There does not seem to be a way to set the properties of a favorite, and I need to set up some command line options. I was looking for an indirect way of doing this.
Gnome2 had a desktop directory in which I could put *.desktop files, but gnome shell seems to ignore them, and trying to execute them just brings gedit up on them.
I can create an executable script that exec's the application with the command line switches I want, which I can then move to favorites, but the resulting icont seem to just launch the original application without options.
On Fri, 2011-04-08 at 16:11 -0400, Barry Fishman wrote:
First thanks for the answers to my previous questions. Everything worked perfectly.
- In gnome-shell, where is the "favorites" information placed?
I can stick thing in favorites by selecting that when right clicking on the icon, but I cannot seem to see where that information gets stored under my home directory.
There does not seem to be a way to set the properties of a favorite, and I need to set up some command line options. I was looking for an indirect way of doing this.
Gnome2 had a desktop directory in which I could put *.desktop files, but gnome shell seems to ignore them, and trying to execute them just brings gedit up on them.
I can create an executable script that exec's the application with the command line switches I want, which I can then move to favorites, but the resulting icont seem to just launch the original application without options.
gnome-shell stores its favorites in gsettings, as a list of desktop file names:
gsettings get org.gnome.shell favorite-apps
should report something like ['mozilla-firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'gnome-terminal.desktop', 'nautilus.desktop', 'xchat.desktop']
To add an item to this list, you can put a desktop file in ~/.local/share/applications, e.g. jhbuild.desktop, and then update the list using
gsettings set org.gnome.shell favorite-apps "['mozilla-firefox.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'gnome-terminal.desktop', 'nautilus.desktop', 'xchat.desktop', 'jhbuild.desktop']"
desktop@lists.stg.fedoraproject.org