Posts by nasty_vibrations

    Sorry, I was away for a longer time.

    Thanks ryecoaaron for your clarification regarding fail2ban. Of course, it makes total sense now.

    lev: My system has two physical NICs, eth0 and eth1. I created a bridge (br0) with the the second one (eth1) in OMV's network>interfaces secton and assigned that one to the VM in the KVM plugin (with virtio).
    I believe this is the relevant part of the final xml:

    Code
    <interface type='bridge'>
          <mac address='5xxxxx:xxx:xxx'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </interface>


    Hope this is still helpful for you.

    Hello everyone,


    I'm running Home Assistant in a VM with the KVM-plugin.
    In order to have fail2ban working for that VM I need it to have access to a specific file inside the VM (homeassistant.log).

    How do I get that file into my host (OMV)??


    Thanks for your help

    Well, I received this email in the morning from my system:



    That's why I tried the command earlier, to see if the problem still exists.

    And, unfortunately, it still does :(

    Output is important here.

    Here it comes:

    Code
    root@NAS:~# echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" | sudo tee /etc/apt/sources.list
    deb http://deb.debian.org/debian/ bullseye main contrib non-free
    root@NAS:~# echo "deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free" | sudo tee -a /etc/apt/sources.list
    deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
    root@NAS:~# sudo rm -v /etc/apt/sources.list.d/{omvextras,openmediavault,openmediavault-os-security}.list
    removed '/etc/apt/sources.list.d/omvextras.list'
    removed '/etc/apt/sources.list.d/openmediavault.list'
    removed '/etc/apt/sources.list.d/openmediavault-os-security.list'

    I completed all the above commands successfully.


    However..

    Code
    root@NAS:~# /usr/bin/apt-get --option quiet=1 --option APT::Get::List-Cleanup=false --option Dir::Etc::SourceList=/etc/apt/sources.list.d/openmediavault-os-security.list --option Dir::Etc::SourceParts="/dev/null" --option DPkg::Options::=--force-confold dist-upgrade --yes --option APT::Get::Show-Upgraded=true
    Reading package lists...
    E: The value 'bullseye' is invalid for APT::Default-Release as such a release is not available in the sources

    remains.