Re: another systemd oddity: why is "syslog.socket" inactive when syslog is running?

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

 



On 02/05/14 17:06, Robert P. J. Day wrote:
>   just another one of those little curiosities -- playing on my f20
> system and the difference between:
>
> $ systemctl list-sockets
> $ systemctl list-sockets --all
>
> is the single additional line:
>
>> /run/systemd/journal/syslog     syslog.socket    rsyslog.service
> which seems odd when syslog is clearly running:
>
> # systemctl status syslog
> rsyslog.service - System Logging Service
>    Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled)
>    Active: active (running) since Sat 2014-02-01 17:44:36 EST; 3 days ago
>  Main PID: 654 (rsyslogd)
>    CGroup: /system.slice/rsyslog.service
>            └─654 /sbin/rsyslogd -n
> ... snip ...
> #
>
>   so why would the syslog socket be classified as inactive while the
> syslog service is running? is this another remnant from earlier
> releases? still digging into systemd so it's entirely possible this is
> a stupid question.
>

Well....  If you look at /lib/systemd/system/cups.socket you'll see

[Socket]
ListenStream=/var/run/cups/cups.sock

and

[root@meimei system]# file /var/run/cups/cups.sock
/var/run/cups/cups.sock: socket

Shows the existence of the socket.  But looking in syslog.socket you'll see ....

[Socket]
ListenDatagram=/run/systemd/journal/syslog

and

[root@meimei system]# file /run/systemd/journal/syslog
/run/systemd/journal/syslog: ERROR: cannot open `/run/systemd/journal/syslog' (No such file or directory)

So, it would seem that particular socket it not created/in use for whatever particular reason.

I'm not much into the differences/history between syslog, rsyslog interactions with journald but the answer probably lies there.....




-- 
Getting tired of non-Fedora discussions and self-serving posts
-- 
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