Re: case study - journalctl - where is logger output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sep 16, 2014, at 9:11 AM, Balint Szigeti <balint.szgt@xxxxxxxxx> 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.szgt@xxxxxxxxx
>> > 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.szgt@xxxxxxxxx>
>> > 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



Chris Murphy

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux