On Tue, 2014-09-16 at 17:46 -0600, Chris Murphy wrote: > On Sep 16, 2014, at 9:11 AM, Balint Szigeti <balint.s...@gmail.com> wrote: > > > On Tue, 2014-09-16 at 09:52 -0400, Tom H wrote: > >> On Sat, Sep 13, 2014 at 11:47 AM, Balint Szigeti <balint.s...@gmail.com > >> > wrote: > >> > >> > On Thu, 2014-09-11 at 16:16 -0400, Tom H wrote: > >> > > >> > On Thu, Sep 11, 2014 at 2:04 PM, Balint Szigeti <balint.s...@gmail.com> > >> > wrote: > >> > > >> > > >> >> today I installed the rsyslog and enable it then disabled (then masked) > >> >> systemd-journal-flush, systemd-journald services. Plus I disabled > >> >> systemd-journald.socket as well. > >> >> It broke my system. After I closed the sudo session I could gain root > >> >> access > >> >> plus I couldn't start any program only forks for the existed ones (like > >> >> gnome terminal). > >> >> The reboot didn't work. The box just didn't start up. :( (just remark - > >> >> systemd is not depends on itself........) > >> > > >> > I disabled all of the journal service and socket units and rebooted > >> > without a hitch. It was in an X-less VM though so perhaps things go > >> > awry when booting a DE (I don't see why it whould). > >> > > >> > > >> >> I booted into runlevel 1 (yeeeah - runlevel doesn't exist on systemd - I > >> >> wanted to say rescue.target) and redo the mask and enable everything. > >> > > >> > I boot into runlevel 1 when I use "1" on the kernel cmdline. > >> > > >> > > >> >> I've noticed the rsyslog doesn't listen to the system logging. > >> >> > >> >> I've run logger command but I don't find it in the log. I've checked the > >> >> journalctl and /var/log/messages file as well. > >> >> > >> >> # logger -t AAAA hello > >> >> # journalctl |grep hello > >> >> # grep hello /var/log/messages > >> >> # > >> > > >> > Same here. > >> > > >> > Is journald supposed to be turned off when using systemd? Why do you > >> > want it off? You can set "Storage=volatile" in > >> > "/etc/systemd/journald.conf" and 1) you'll only have rsyslog logs > >> > across reboots and 2) the journald logs will be written to the > >> > "/run/log/journal/" tmpfs so journald will simply collect logs for > >> > rsyslog. > >> > > >> > I've just tried to set the Storage entry in /etc/systemd/journald.conf > >> > to > >> > "none" according to manual page and off course no effect. > >> > Also tried to set LogTarget to "syslog" in /etc/systemd/system.conf and > >> > reboot (funny, hurray we become Windows......)but no effect. > >> > > >> > Needless to say, the logs are being found in journalctl and messages > >> > file of > >> > course. I don't think to raise bug because any time when they hear > >> > someone > >> > doesn't want to use their 'solutions' they refuse/ignore or set the > >> > ticket > >> > to WONTFIX. > >> > Personally that is my bigger problem. > >> > > >> > I finished testing the syslog. I think the only thing that we can do to > >> > accept and shut our mouth :( > >> > >> > >> It's working here. systemd must sense that you don't like it and it's > >> messin' wit' u! > >> > >> > >> > > you are right. I don't like it. > >> # grep Storage /etc/systemd/journald.conf > >> Storage=none > >> > > I've set it and restarted the "systemctl restart systemd-journald.service" > > journald and the system stopped to logging. :( > > > From defaults, only changing journald.conf Storage=none, installing and > enabling rsyslog, I can't reproduce the problem on either Fedora 20 or 21. > > [root@f20v log]# logger biscuit > [root@f20v log]# grep biscuit /var/log/messages > Sep 16 10:33:42 f20v root: biscuit > [root@f20v log]# journalctl | grep biscuit > Sep 16 10:33:42 f20v.localdomain root[786]: biscuit > > rsyslog-7.4.8-1.fc20.1.x86_64 > systemd-208-21.fc20.x86_64
Well, I have definitely a problem: [root@szigeti-6560b ~]# vi /etc/systemd/journald.conf [root@szigeti-6560b ~]# grep none $_ Storage=none [root@szigeti-6560b ~]# systemctl restart systemd-journald.service [root@szigeti-6560b ~]# logger foo [root@szigeti-6560b ~]# grep foo /var/log/messages [root@szigeti-6560b ~]# journalctl -n 100 |grep foo [root@szigeti-6560b ~]# [root@szigeti-6560b ~]# vi /etc/systemd/journald.conf [root@szigeti-6560b ~]# systemctl restart systemd-journald.service [root@szigeti-6560b ~]# grep Storage /etc/systemd/journald.conf #Storage=none #Storage=auto [root@szigeti-6560b ~]# logger AAAAAAAAAAA [root@szigeti-6560b ~]# grep AAAAAA /var/log/messages Sep 17 11:38:14 SZIGETI-6560B bszigeti: AAAAAAAAAAA [root@szigeti-6560b ~]# journalctl -n 100 |grep AAAA Sep 17 11:38:14 szigeti-6560b bszigeti[28839]: AAAAAAAAAAA rsyslog-7.4.8-1.fc20.1.x86_64 systemd-208-21.fc20.x86_64 Do you have any clue? > > > > Chris Murphy >
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org