Skip to content

ipv6 only vps debian12 setup ends here always, it just get back to bash promt #123

Closed

Description

@GuinnessDublin

ℹ Applying new Fail2Ban configuration...
ℹ Enabling and restarting Fail2Ban to apply new rules...
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
✓ Fail2Ban is active with the new configuration.
Status
|- Number of jail: 2
`- Jail list: sshd, ufw-probes
Show instructions for adding IPs later? [y/N]:

▓▓▓ SSH Hardening ▓▓▓
═════════════════════════════════════════════════════════════════
ℹ Using SSH service: ssh.service
ℹ Backing up original SSH config...
⚠ SSH Key Authentication Required for Next Steps!
Test SSH access from a SEPARATE terminal now.

Activity

  1. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    I had tested this on IPv6 only VPS on Scaleway and it worked fine. I will check again and try to reproduce and fix whatever is breaking this.

  2. GuinnessDublin commented on Aug 12, 2026

    @GuinnessDublin
    Author
  3. GuinnessDublin commented on Aug 12, 2026

    @GuinnessDublin
    Author

    If you need some logs etc, just ask.

  4. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    Would you mind checking this verion in fix_ipv6 branch - i think i know what happened and have tried to fix it but i dont have access to ipv6 only vps right now. You can pull this script and run to see if this works for you...

    wget https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/fix_ipv6/du_setup.sh

  5. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    Could I also ask which provider did you test on? I maybe able to get a VPS from the same provider to test.

  6. GuinnessDublin commented on Aug 12, 2026

    @GuinnessDublin
    Author

    Leap status : Normal

    ▓▓▓ Secure DNS Configuration (DNS-over-TLS) ▓▓▓
    ═════════════════════════════════════════════════════════════════
    Configure secure, encrypted DNS (Quad9 + Cloudflare fallback) and disable local tracking protocols? [y/N]: y
    ⚠ systemd-resolved is not installed on this system.
    Install and enable systemd-resolved to handle encrypted DNS? [y/N]: y
    (Reading database ... 46025 files and directories currently installed.)
    Removing openresolv (3.12.0-3) ...
    Selecting previously unselected package libnss-myhostname:amd64.
    (Reading database ... 46009 files and directories currently installed.)
    Preparing to unpack .../libnss-myhostname_252.39-1deb12u2_amd64.deb ...
    Unpacking libnss-myhostname:amd64 (252.39-1
    deb12u2) ...
    Selecting previously unselected package systemd-resolved.
    Preparing to unpack .../systemd-resolved_252.39-1deb12u2_amd64.deb ...
    Unpacking systemd-resolved (252.39-1
    deb12u2) ...
    Selecting previously unselected package libnss-resolve:amd64.
    Preparing to unpack .../libnss-resolve_252.39-1deb12u2_amd64.deb ...
    Unpacking libnss-resolve:amd64 (252.39-1
    deb12u2) ...
    Setting up libnss-myhostname:amd64 (252.39-1deb12u2) ...
    Setting up systemd-resolved (252.39-1
    deb12u2) ...

    Configuration file '/etc/systemd/resolved.conf'
    ==> File on system created by you or by a script.
    ==> File also in package provided by package maintainer.
    What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
    D : show the differences between the versions
    Z : start a shell to examine the situation
    The default action is to keep your current version.
    *** resolved.conf (Y/I/N/O/D/Z) [default=N] ?
    Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf...
    mv: cannot move '/etc/resolv.conf' to '/etc/.resolv.conf.systemd-resolved.bak': Operation not permitted
    Cannot take a backup of /etc/resolv.conf.
    ln: failed to create symbolic link '/etc/resolv.conf': Operation not permitted
    Cannot install symlink from /etc/resolv.conf to ../run/systemd/resolve/stub-resolv.conf
    Creating group 'systemd-resolve' with GID 996.
    Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996.
    Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
    Created symlink /etc/systemd/system/sysinit.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
    Setting up libnss-resolve:amd64 (252.39-1deb12u2) ...
    Processing triggers for dbus (1.14.10-1
    deb12u1) ...
    Processing triggers for libc-bin (2.36-9+deb12u14) ...
    ℹ Backing up current resolved config (if exists)...
    ℹ Applying secure DNS settings (Quad9 with Cloudflare Fallback)...
    ℹ Enabling and restarting systemd-resolved...
    ℹ Symlinking /etc/resolv.conf to the secure stub resolver...
    rm: cannot remove '/etc/resolv.conf': Operation not permitted

  7. GuinnessDublin commented on Aug 12, 2026

    @GuinnessDublin
    Author

    it went much longer. this was no vanilla installed debian 12, it was running and two times before tryied du_setup.sh when got that error.

  8. GuinnessDublin commented on Aug 12, 2026

    @GuinnessDublin
    Author
  9. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    Ah i think this is because VPS provider might not be allowing to change the DNS settings - i will push the update to same branch with a fall-back to deal with this.

  10. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    Would you mind testing one more time remove the old version and pull it again

    wget https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/fix_ipv6/du_setup.sh && chmod +x du_setup.sh

  11. buildplan commented on Aug 12, 2026

    @buildplan
    Owner

    https://panel.nolimitcloud.eu/billing/checkout_page.php?checkout=85 its this one

    couldn't find the ipv6 only servers on nolimitcloud website.

  12. GuinnessDublin commented on Aug 13, 2026

    @GuinnessDublin
    Author

    did test this last one. It works ok now. Thanks

    And again this was not vanilla install. did try it in same machine every time.

  13. buildplan commented on Aug 13, 2026

    @buildplan
    Owner

    Thanks for this. It's good that you tested on same machine that also confirms that script is working as it was intended to be idempotent and this confirms that it can handle repeated runs on same system and also now the error is sorted.

  14. GuinnessDublin commented on Aug 13, 2026

    @GuinnessDublin
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions