• reducing periodic report to error conditions

    From Marco Moock@21:1/5 to All on Sat Jun 14 11:39:25 2025
    Hello!

    I have the following settings in /etc/defaults/periodic.conf

    daily_diff_flags="-b -U 0" # flags for diff output daily_output="root" # user or /file
    daily_show_success="NO" # scripts returning 0 daily_show_info="YES" # scripts returning 1 daily_show_badconfig="YES" # scripts returning 2
    [...]
    daily_status_disks_enable="YES" # Check disk status daily_status_disks_df_flags="-l -h" # df(1) flags for check

    I still get the following message every day:


    Disk status:
    Filesystem Size Used Avail Capacity Mounted on zroot/ROOT/default 10G 2.9G 7.6G 28% /
    devfs 1.0K 0B 1.0K 0% /dev
    zroot/var/mail 7.6G 112K 7.6G 0% /var/mail
    zroot/tmp 8.7G 1.1G 7.6G 13% /tmp
    zroot/usr/ports 7.6G 96K 7.6G 0% /usr/ports
    zroot/var/log 7.6G 596K 7.6G 0% /var/log
    zroot/usr/src 7.6G 96K 7.6G 0% /usr/src
    zroot/var/crash 7.6G 96K 7.6G 0% /var/crash
    zroot/home 7.6G 96K 7.6G 0% /home
    zroot/var/tmp 7.6G 96K 7.6G 0% /var/tmp
    zroot/var/audit 7.6G 96K 7.6G 0% /var/audit
    zroot 7.6G 96K 7.6G 0% /zroot
    zroot/home/m 7.6G 204K 7.6G 0% /home/m

    Local system status:
    3:01AM up 2 days, 7:04, 0 users, load averages: 0.51, 0.52, 0.43

    -- End of daily output --


    Can somebody give a hint what can cause that?

    I don't have those settings in /usr/local/etc/periodic, so I don't
    think they are overridden.

    --
    kind regards
    Marco

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to [email protected] on Sun Jun 15 20:01:30 2025
    In article <20250614113925.08a15c5a@zbook>,
    Marco Moock <[email protected]> wrote:
    I have the following settings in /etc/defaults/periodic.conf

    That file and periodic.conf(5) recommends against: <URL:https://cgit.freebsd.org/src/tree/usr.sbin/periodic/periodic.conf?h=releng/14.3>
    #!/bin/sh
    #
    # This is defaults/periodic.conf - a file full of useful variables that
    # you can set to change the default behaviour of periodic jobs on your
    # system. You should not edit this file! Put any overrides into one of the
    # $periodic_conf_files instead and you will be able to update these defaults
    # later without spamming your local configuration information.

    <URL:https://man.freebsd.org/cgi/man.cgi?query=periodic.conf&sektion=5&apropos=0&manpath=FreeBSD+14.3-RELEASE+and+Ports>
    /etc/periodic.conf The usual system specific variable over-
    ride file.

    daily_diff_flags="-b -U 0" # flags for diff output >daily_output="root" # user or /file
    daily_show_success="NO" # scripts returning 0 >daily_show_info="YES" # scripts returning 1 >daily_show_badconfig="YES" # scripts returning 2
    [...]
    daily_status_disks_enable="YES" # Check disk status >daily_status_disks_df_flags="-l -h" # df(1) flags for check

    I still get the following message every day:

    # (cd /etc/periodic/daily/&&./400.status-disks>/dev/null);echo $?
    1

    periodic(8) suggests you add daily_show_info=NO in /etc/periodic.conf. <URL:https://man.freebsd.org/cgi/man.cgi?query=periodic&manpath=FreeBSD+14.3-RELEASE+and+Ports>
    To only see important information from daily periodic jobs, add the
    following lines to /etc/periodic.conf:

    daily_show_success=NO
    daily_show_info=NO
    daily_show_badconfig=NO

    John
    [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Sun Jun 29 09:39:07 2025
    On 15.06.2025 20:01 Uhr John D Groenveld wrote:

    In article <20250614113925.08a15c5a@zbook>,
    Marco Moock <[email protected]> wrote:
    I have the following settings in /etc/defaults/periodic.conf

    That file and periodic.conf(5) recommends against: <URL:https://cgit.freebsd.org/src/tree/usr.sbin/periodic/periodic.conf?h=releng/14.3>
    #!/bin/sh
    #
    # This is defaults/periodic.conf - a file full of useful variables
    that # you can set to change the default behaviour of periodic jobs
    on your # system. You should not edit this file! Put any overrides
    into one of the # $periodic_conf_files instead and you will be able
    to update these defaults # later without spamming your local
    configuration information.

    <URL:https://man.freebsd.org/cgi/man.cgi?query=periodic.conf&sektion=5&apropos=0&manpath=FreeBSD+14.3-RELEASE+and+Ports>
    /etc/periodic.conf The usual system
    specific variable over- ride file.

    daily_diff_flags="-b -U 0" # flags for diff output >daily_output="root" # user or /file >daily_show_success="NO" # scripts returning 0 >daily_show_info="YES" # scripts returning 1 >daily_show_badconfig="YES" # scripts returning 2
    [...]
    daily_status_disks_enable="YES" # Check disk status >daily_status_disks_df_flags="-l -h" # df(1) flags for check

    I still get the following message every day:

    # (cd /etc/periodic/daily/&&./400.status-disks>/dev/null);echo $?
    1

    periodic(8) suggests you add daily_show_info=NO in /etc/periodic.conf. <URL:https://man.freebsd.org/cgi/man.cgi?query=periodic&manpath=FreeBSD+14.3-RELEASE+and+Ports>
    To only see important information from
    daily periodic jobs, add the following lines to
    /etc/periodic.conf:

    daily_show_success=NO
    daily_show_info=NO
    daily_show_badconfig=NO

    John
    [email protected]

    I now tried that, but I still receive security mails where I can't find
    an issue.


    Checking negative group permissions:

    Checking for passwordless accounts:

    Checking login.conf permissions:

    teufel.dorfdsl.de login failures:

    teufel.dorfdsl.de refused connections:

    Checking for security vulnerabilities in base (userland & kernel):
    vulnxml file up-to-date
    0 problem(s) in 0 package(s) found.
    vulnxml file up-to-date
    0 problem(s) in 0 package(s) found.

    Checking for packages with security vulnerabilities:

    Checking for packages with mismatched checksums:

    -- End of security output --

    [m@teufel ~]$ cat /etc/periodic.conf
    daily_show_success=NO
    daily_show_info=NO
    daily_show_badconfig=YES


    --
    kind regards
    Marco

    Send spam to [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to Marco Moock on Sun Jun 29 10:25:23 2025
    On Sun, 29 Jun 2025 09:39:07 +0200, Marco Moock wrote:

    daily_show_success=NO daily_show_info=NO
    daily_show_badconfig=NO

    John [email protected]

    I now tried that, but I still receive security mails where I can't find
    an issue.

    There is a separate set for security, e.g. security_show_success



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)