The officially official Devuan Forum!

You are not logged in.

#1 2022-12-20 13:11:11

andyp67
Member
Registered: 2022-10-30
Posts: 117  

Marvin Gaye /var/log/messages

I installed netinstall (iso Dec 19 2022, kernel bump from Dec 12 2022 iso,) Daedalus, network down/off.
I didn't install standard system utilities.
After 'select and install software' I, alt f2, chroot /target
dpkg -P firmware-atheros firmware-linux-free
add noatime to etc/fstab
mount a storage device, do my own firmware ath10k i915
dpkg -i
libdbus-1-3
libnl-route-3-200
libpcre2-8-0
libpcsclite1
libselinux1
net-tools
wpasupplicant

Booted OS and no /var/log/messages.
ifconfig hw ether MAC
ifup wlan0, apt-get update, apt-get upgrade, installed some programs, incuding rsync.
Screenshot of ls -m /usr/share/doc is at,
andyp67 dot co dot uk forward slash _SS0.PNG

I am dubious and wonder if this is a not small Debian/Devuan problem.
How many uses are their for tail -f /var/log/messages
see if the storage device you plug in is any good for a start.

Offline

#2 2022-12-20 15:32:46

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,058  
Website

Re: Marvin Gaye /var/log/messages

A quick search reveals the answer ("/var/log/mesages"+debian):

https://unix.stackexchange.com/question … g-messages

tl;dr: look under /var/log/syslog instead wink

And here's how to re-enable /var/log/messages, because you seem the type:

https://hereirestinremorse.wordpress.co … gmessages/

Disclaimer: untested.

Last edited by Head_on_a_Stick (2022-12-20 15:34:00)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII, 18.

Offline

#3 2022-12-21 11:38:01

andyp67
Member
Registered: 2022-10-30
Posts: 117  

Re: Marvin Gaye /var/log/messages

To resurrect useful, pleasant on the eye;
cp /etc/rsyslog.conf /etc/_rsyslog.conf
vi /etc/rsyslog.conf

*.=debug;\
  auth,authpriv.none;\
  news.none;mail.none         -/var/log/debug
*.=info;*.=notice;*.=warn;\
  auth,authpriv.none;\
  cron,daemon.none;\
  mail,news.none              -/var/log/messages

goes in at the bottom above emergencies.
/etc/init.d/rsyslogd stop
/etc/init.d/rsyslogd start
It works.

Offline

#4 2022-12-22 21:01:33

aluma
Member
Registered: 2022-10-26
Posts: 102  

Re: Marvin Gaye /var/log/messages

Why do you need /var/log/messages?
For 20 years of using Linux on the Internet, I have a completely convinced opinion.

1.Linux is not a locomotive that must be constantly monitored. It works by itself and in the absence of errors does not require control. (All sorts of conky, etc. programs are only for the user's conceit, "everything is under control!")

2. During this time (20 years) I had only one case related to security - the browser freezes. Reboot fixed everything (so today my browser's cache is in tmpfs)

3. You and all of us are too small a target. The database is here.

4. Programs that are probably needed on the server are completely unnecessary and even harm users' systems.
There is little sense from them. and there are many problems.
Programs like SElinux are themselves a source of problems for the user.
Here is an example of one OS that has its own system for monitoring system file changes.
I need to change the WRD for my country's wi-fi.
The OS has its own command for this. But if I use iw tools, then it works, but for a few minutes. And what is the use of such protection?

5. Here is an opinion why Linux is growing (I think Google will help translate) https://habr.com/ru/company/ruvds/blog/556124/
6. In fact, the danger is not in software, but in people. Otherwise, it would be impossible to buy databases of banks with the money and desire.

7. One of the reasons I use an OS without systemd is the ability to safely disable rsyslog, since I haven't looked in /var/log/messages for years.

Regards.

Last edited by aluma (2022-12-22 21:04:57)

Offline

Board footer