• 1 Post
  • 185 Comments
Joined 3 years ago
cake
Cake day: August 17th, 2023

help-circle









  • I would tack on shitty drivers in general. People driving in the shoulder just bc they’re in a hurry or think they’re important, not using turn signals, not letting people merge, being distracted using their phone, weaving through traffic at high speed; things got way worse during the pandemic and they haven’t at all improved at least as far as I can tell.




  • dditty@lemm.eeOPtoFedora Linux@lemmy.mlHelp fixing logrotate.service
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Cool so I deleted that line. I’m just hoping to get logrotate to work normally with its default configuration lol.

    Here’s the output of ls -la /var/log/samba/

    total 32
    drwxr-x---.  3 root root 4096 Mar 22 12:39 .
    drwxr-xr-x. 14 root root 4096 Mar 31 03:47 ..
    drwx------.  7 root root   90 Mar 22 12:39 cores
    -rw-r--r--.  1 root root 4146 Mar 22 15:00 log.nmbd
    -rw-r--r--.  1 root root  189 Mar 22 11:40 log.rpcd_classic
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_epmapper
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_fsrvp
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_lsad
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_mdssvc
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_spoolss
    -rw-r--r--.  1 root root  188 Mar 22 11:40 log.rpcd_winreg
    -rw-r--r--.  1 root root    0 Mar 22 11:40 log.rpcd_witness
    -rw-r--r--.  1 root root  177 Mar 22 11:40 log.samba-dcerpcd
    -rwxrwx---.  1 root root  480 Mar 22 14:24 log.smbd
    -rwxr-x---.  1 root root    0 Mar 13 20:26 old
    

    I changed a few of these back to root:root ~ a week ago; I believe the ones for smbd and samba-dcerpcd were previously owned by a user and group I set up for my samba share which I think was also causing problems. Do you know if these are otherwise correct?

    I just ran sudo systemctl restart logrotate.service and it completed without issues. With that being said, it also completed without issues when I ran it the last couple times over the last few weeks with my old and broken config, so I’m unsure whether that single line fix from /etc/logrotate.d/samba is enough. Is there anything else you can think of I should be checking?


  • dditty@lemm.eeOPtoFedora Linux@lemmy.mlHelp fixing logrotate.service
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Thanks for the reply!

    Here are the contents of /etc/logrotate.d/samba

    /var/log/samba/*log* {
    compress
    dateext
    maxage 365
    rotate 99
    notifyempty
    olddir /var/log/samba/old
    missingok
    copytruncate
    }
    

    Should I just delete that olddir /var/log/samba/old line? I may have added that line when troubleshooting this issue via referencing old forum posts online, not sure.