Bug 10034 - modify ENABLE_CONSOLE_LOG from msec (was No syslog messages in console 12)
Summary: modify ENABLE_CONSOLE_LOG from msec (was No syslog messages in console 12)
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2013-05-09 10:42 CEST by Morgan Leijström
Modified: 2016-10-16 21:29 CEST (History)
2 users (show)

See Also:
Source RPM: msec
CVE:
Status comment:


Attachments

Description Morgan Leijström 2013-05-09 10:42:23 CEST
In mga1 (and earlier mandriva) we can see last syslog messages quickli by hitting Ctrl-Alt-12

It is a convenient way and sometimes it is very good to have such quick way.

I understand there may be security issues.

And I can make a desktop shortcut to run less on syslog-

But a shoortcut will always be quickest, if alowed by security demands.

AND, in MSEC settings the option ENABLE_CONSOLE_LOG is by default set to yes, in the default security level.

Either it should work. Or, if it is intended never to be allowed agian, is should be removed from settings.

Reproducible: 

Steps to Reproduce:
Morgan Leijström 2013-05-09 10:42:38 CEST

Whiteboard: (none) => MGA2TOO

Comment 1 Jani Välimaa 2013-05-09 11:01:13 CEST
Is rsyslog installed?

CC: (none) => jani.valimaa

Comment 2 Morgan Leijström 2013-05-09 16:11:33 CEST
Ah, thank you Jani, i forgot that!
With either rsyslog or syslog-ng it works OK :)

I change this to an enhancement request then:

In MSEC settings GUI, the description for ENABLE_CONSOLE_LOG say "Shows syslog messages on console terminal 12"   Please add to that to that description:

" rsyslog or syslog-ng need be installed for it to work, for info see /var/log/README "

( And, if easily acheiveable, dump /var/log/README in terminal 12 when neither  rsyslog nor syslog-ng is installed, or message about MSEC setting ENABLE_CONSOLE_LOG if it is set to no )
Morgan Leijström 2013-05-09 16:11:54 CEST

Severity: normal => enhancement

Comment 3 Manuel Hiebel 2013-05-10 22:37:37 CEST
It's only since mga3, as we use journalctl as default only since some month

Keywords: (none) => Junior_job
Summary: No syslog messages in console 12 => modify ENABLE_CONSOLE_LOG from msec (was No syslog messages in console 12)
Source RPM: (none) => msec
Whiteboard: MGA2TOO => (none)

Jani Välimaa 2013-07-03 20:12:46 CEST

CC: jani.valimaa => (none)

Comment 4 Derek Jennings 2013-07-12 18:28:27 CEST
A way to get the log in tty12 without installing rsyslog is to edit /etc/systemd/journald.conf  and set

ForwardToConsole=yes
TTYPath=/dev/tty12

then restart journald service.

It does not appear to matter if rsyslog is installed as well. Log entries appear only once in tty12

CC: (none) => derekjenn

Samuel Verschelde 2016-10-15 22:54:09 CEST

Assignee: bugsquad => mageiatools

Comment 5 Mageia Robot 2016-10-16 17:01:13 CEST
commit 63be0a4da723a844bb17bfa0dafe8795bde8a296
Author: Papoteur <papoteur@...>
Date:   Sun Oct 16 17:00:39 2016 +0200

    Use journald instead of syslog to get log on tty12 (mga#10034)
    
    this is set by ENABLE_CONSOLE_LOG
---
 Commit Link:
   http://gitweb.mageia.org/software/msec/commit/?id=63be0a4da723a844bb17bfa0dafe8795bde8a296
Comment 6 papoteur 2016-10-16 21:29:36 CEST
However, syslog seems to no more been active. :(
Since 2009.
http://gitweb.mageia.org/software/msec/commit/src/msec/msec.py?id=c7a5d9f905c9e24bc04247b3fedea0732f234477

CC: (none) => yves.brungard_mageia


Note You need to log in before you can comment on or make changes to this bug.