Posts by Omm0987

    Broken apt

    In 5.6.3


    root@OMMJAI:~# sudo omv-salt deploy run apt

    debian:

    Code
    ID: configure_apt_sources_list_openmediavault
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault.list is in the correct state Started: 09:54:37.291562
    Duration: 51.251 ms Changes:
    Code
    ID: remove_apt_proxy
    Function: file.absent Name: /etc/apt/apt.conf.d/99openmediavault-proxy Result: True Comment: File /etc/apt/apt.conf.d/99openmediavault-proxy is not present Started: 09:54:37.342974
    Duration: 0.663 ms Changes:
    Code
    ID: configure_apt_pref_kernel_backports
    Function: file.managed Name: /etc/apt/preferences.d/openmediavault-kernel-backports.pref Result: True Comment: File /etc/apt/preferences.d/openmediavault-kernel-backports.pref is in the correct state Started: 09:54:37.343758
    Duration: 9.672 ms Changes:
    Code
    ID: configure_apt_sources_list_kernel_backports
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-kernel-backports.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-kernel-backports.list is in the correct state Started: 09:54:37.353553
    Duration: 11.182 ms Changes:
    Code
    ID: remove_apt_sources_list_debian_security
    Function: file.absent Name: /etc/apt/sources.list.d/openmediavault-debian-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-debian-security.list is not present Started: 09:54:37.364860
    Duration: 0.618 ms Changes:
    Code
    ID: remove_apt_sources_list_security_0
    Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 2154, in call *cdata["args"], **cdata["kwargs"] File "/usr/lib/python3/dist-packages/salt/loader.py", line 2106, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function six.reraise(*sys.exc_info()) File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 422, in run _func, returner=kwargs.get("returner"), func_args=kwargs.get(func) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 467, in _call_function mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs) File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function return salt_function(*function_args, **function_kwargs) File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 1882, in del_repo refresh_db() File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 402, in refresh_db raise CommandExecutionError(comment) salt.exceptions.CommandExecutionError: E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 13.227.166.112 80] E: The repository 'http://linux.teamviewer.com/deb stable InRelease' is no longer signed. W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 Started: 09:54:37.366609
    Duration: 7331.455 ms Changes:
    Code
    ID: configure_apt_sources_list_os_security
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-os-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-os-security.list updated Started: 09:54:44.698598
    Duration: 53.925 ms Changes: ---------- diff: --- +++ @@ -1 +1,2 @@ +deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
    Code
    ID: refresh_apt_database
    Function: module.run Name: pkg.refresh_db Result: True Comment: Started: 09:54:44.753175
    Duration: 1.375 ms Changes:


    Summary for debian


    Succeeded: 7 (changed=1)

    Failed: 1

    Total states run: 8

    Total run time: 7.460 s

    `


    `root@OMMJAI:~# sudo omv-salt deploy run apt

    debian:

    Code
    ID: configure_apt_sources_list_openmediavault
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault.list is in the correct state Started: 09:54:37.291562
    Duration: 51.251 ms Changes:
    Code
    ID: remove_apt_proxy
    Function: file.absent Name: /etc/apt/apt.conf.d/99openmediavault-proxy Result: True Comment: File /etc/apt/apt.conf.d/99openmediavault-proxy is not present Started: 09:54:37.342974
    Duration: 0.663 ms Changes:
    Code
    ID: configure_apt_pref_kernel_backports
    Function: file.managed Name: /etc/apt/preferences.d/openmediavault-kernel-backports.pref Result: True Comment: File /etc/apt/preferences.d/openmediavault-kernel-backports.pref is in the correct state Started: 09:54:37.343758
    Duration: 9.672 ms Changes:
    Code
    ID: configure_apt_sources_list_kernel_backports
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-kernel-backports.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-kernel-backports.list is in the correct state Started: 09:54:37.353553
    Duration: 11.182 ms Changes:
    Code
    ID: remove_apt_sources_list_debian_security
    Function: file.absent Name: /etc/apt/sources.list.d/openmediavault-debian-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-debian-security.list is not present Started: 09:54:37.364860
    Duration: 0.618 ms Changes:
    Code
    ID: remove_apt_sources_list_security_0
    Function: module.run Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 2154, in call *cdata["args"], **cdata["kwargs"] File "/usr/lib/python3/dist-packages/salt/loader.py", line 2106, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate return self._call_function(kwargs) File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function six.reraise(*sys.exc_info()) File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise raise value File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function return self._function(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 422, in run _func, returner=kwargs.get("returner"), func_args=kwargs.get(func) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 467, in _call_function mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs) File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function return salt_function(*function_args, **function_kwargs) File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 1882, in del_repo refresh_db() File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 402, in refresh_db raise CommandExecutionError(comment) salt.exceptions.CommandExecutionError: E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 13.227.166.112 80] E: The repository 'http://linux.teamviewer.com/deb stable InRelease' is no longer signed. W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:1 Started: 09:54:37.366609
    Duration: 7331.455 ms Changes:
    Code
    ID: configure_apt_sources_list_os_security
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-os-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-os-security.list updated Started: 09:54:44.698598
    Duration: 53.925 ms Changes: ---------- diff: --- +++ @@ -1 +1,2 @@ +deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
    Code
    ID: refresh_apt_database
    Function: module.run Name: pkg.refresh_db Result: True Comment: Started: 09:54:44.753175
    Duration: 1.375 ms Changes:


    Summary for debian


    Succeeded: 7 (changed=1)

    Failed: 1

    Total states run: 8

    Total run time: 7.460 s

    `

    postfix/sendmail[1865]: fatal: chdir /var/spool/postfix: Permission denied

    Hi I was trying to fix some postfix errors but messed it up a little could you please help me

    Hi I was trying to install this kernel patch HP p410i.


    https://medium.com/@terryjx/en…gen7-servers-4e827eeb78ca


    On following this guide I was able to patch my ubuntu server.


    First step would be modifying the providedMakefile to adapt to the linux kernel source path KDIR to Ubuntu 18.04 LTS, which is `/lib/modules/$(KRELEASE)/build`


    I just wanted help in modifying this Makefile to Debian


    obj-m := hpsa.o

    ifndef KERNELRELEASE

    KRELEASE := $(shell uname -r)

    else

    KRELEASE := $(KERNELRELEASE)

    endif

    # KDIR := /usr/lib/modules/$(KRELEASE)/build

    KDIR := /lib/modules/$(KRELEASE)/build

    PWD := $(shell pwd)

    default:

    $(MAKE) -C $(KDIR) M=$(PWD) modules

    clean:

    $(MAKE) -C $(KDIR) M=$(PWD) clean

    Please help with this file for Debian Linux kernel 5.4

    To my knowledge

    The samba 3.6.x has as default: usershare path = /var/lib/samba/usershares
    if a user enters a wrong path somewhere it falls back to the usershares and this share cannot be found there.

    Why should I remove the fall back


    Also somehow my

    /var/lib/samba/usershares/ is also empty

    Hi Guys,

    This is my first time making a NAS.

    I want a RAID configuration.

    Do I need a motherboard which supports raid?

    I am planning on 15 3rd gen CPU and 4gb of ram.

    Please suggest motherboard for RAID 0, RAID 1 and RAID 10

    Should I go Hardware Raid or Software Raid

    Thanks for your support