You are not logged in.
Hello guys, recently i made some big changes on the layout of my installation and it seems like i lost the logs that used to be in /var/log/jounral and /var/log/old. Since than when updating the system pacman has been warning me with messages like in the title.
I have recreated the two directories but it seems like nothing is ever written in them. Not sure how i can solve it.
.rw------- 573 root 29 Jan 11:04 boot.log
.rw-rw---- 0 root 25 Jan 02:03 btmp
drwx--x--x - root 25 Jan 02:03 gdm
drwxr-xr-x - root 18 Jan 20:03 httpd
drwxr-xr-x - root 30 Jan 23:44 journal
.rw-rw-r-- 292 root 30 Jan 10:01 lastlog
drwxr-xr-x - root 30 Jan 10:08 old
.rw-r--r-- 252k root 30 Jan 23:40 pacman.log
drwx------ - root 25 Jan 02:03 private
.rw-rw-r-- 72k root 30 Jan 20:59 wtmp
.rw-r--r-- 36k root 30 Jan 20:40 Xorg.0.log
.rw-r--r-- 36k root 30 Jan 19:07 Xorg.0.log.old
.rw-r--r-- 36k root 30 Jan 20:45 Xorg.1.log
.rw-r--r-- 36k root 30 Jan 20:40 Xorg.1.log.old
Offline
Hello guys, recently i made some big changes on the layout of my installation
Please be more specific. Post the full list of exact commands involved in those changes.
If that output is from 'ls -g /var/log' then the systemd-journal directory should look something like this:
drwxr-sr-x+ 1 systemd-journal 0 Dec 21 10:31 journal
Delete that directory and set
Storage=persistent
in /etc/systemd/journald.conf then reboot.
Para todos todo, para nosotros nada
Offline
This are the permissions i have set... it seems i still don't have them right but i do not know how to fix them further than that
drwxr-sr-x - root 30 Jan 18:47 audit
drwx--x--x - root 25 Jan 02:03 gdm
drwxr-xr-x - root 18 Jan 20:03 httpd
drwxr-sr-x@ - root 31 Jan 08:28 journal
drwxr-sr-x - root 30 Jan 10:08 old
drwx------ - root 25 Jan 02:03 private
.rw------- 573 root 29 Jan 11:04 boot.log
.rw-rw---- 0 root 25 Jan 02:03 btmp
.rw-rw-r-- 292 root 30 Jan 10:01 lastlog
.rw-r--r-- 254k root 31 Jan 19:58 pacman.log
.rw-rw-r-- 74k root 31 Jan 19:56 wtmp
.rw-r--r-- 36k root 30 Jan 20:40 Xorg.0.log
.rw-r--r-- 36k root 30 Jan 19:07 Xorg.0.log.old
.rw-r--r-- 36k root 30 Jan 20:45 Xorg.1.log
.rw-r--r-- 36k root 30 Jan 20:40 Xorg.1.log.old
Offline
Don't try to set the permissions manually. Just delete the journal directories and let systemd recreate them. Read my last post again, you don't seem to have finished it.
Para todos todo, para nosotros nada
Offline