Skip to content

T7557: Updates for Debian Trixie#4576

Closed
sarthurdev wants to merge 17 commits intovyos:currentfrom
sarthurdev:T7557
Closed

T7557: Updates for Debian Trixie#4576
sarthurdev wants to merge 17 commits intovyos:currentfrom
sarthurdev:T7557

Conversation

@sarthurdev
Copy link
Copy Markdown
Member

@sarthurdev sarthurdev commented Jun 24, 2025

Change summary

  • Update tests for nose2 (nose package removed)
  • Serial session check no longer possible with utmp (utmp removed)
  • Use Debian update-locale to change time format (localectl setting is unsupported/blocked)
  • Add e2fsprogs for installer mkfs.ext4
  • Add systemd units for SysV init files (systemd-sysv-generator deprecated)
  • Silence verbose dmesg log from console
  • Migrate and remove SSH DSA keys (unsupported and removed in Trixie)
  • Resolve container issues by migrating to podman quadlet for container/network unit handling
  • Add workaround for test_ssh_trusted_user_ca test due to upstream Paramiko bug
  • Service https/api requires python3-fastapi package
  • Added workaround for DNS forwading legacy config format

Outstanding issues:

  • Podman network aardvark-dns does not work, disabled until local or upstream fix found
  • Migrate DNS forwarding to new YAML config format

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

How to test / Smoketest result

Smoketests fail spectacularly, this is draft for now.

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 24, 2025

👍
No issues in PR Title / Commit Title

@sarthurdev sarthurdev force-pushed the T7557 branch 3 times, most recently from bedf69a to f813a93 Compare June 25, 2025 11:37
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 26, 2025

✅ No issues found in unused-imports check.. Please refer the workflow run

Comment thread python/vyos/utils/serial.py
@sarthurdev sarthurdev force-pushed the T7557 branch 3 times, most recently from dfed132 to d83f98b Compare June 28, 2025 13:34
@vyos vyos deleted a comment from github-actions Bot Jun 29, 2025
@vyos vyos deleted a comment from github-actions Bot Jun 29, 2025
@sarthurdev sarthurdev force-pushed the T7557 branch 2 times, most recently from 6373780 to c053764 Compare June 29, 2025 23:13
@vyos vyos deleted a comment from github-actions Bot Jun 30, 2025
@vyos vyos deleted a comment from github-actions Bot Jun 30, 2025
@sarthurdev sarthurdev marked this pull request as ready for review June 30, 2025 19:48
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 14, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@sarthurdev sarthurdev force-pushed the T7557 branch 3 times, most recently from 0dba954 to 292bb92 Compare July 31, 2025 14:57
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 3, 2025

CI integration ❌ failed!

Details

CI logs

  • CLI Smoketests (no interfaces) ❌ failed
  • CLI Smoketests (interfaces only) ❌ failed
  • Config tests ❌ failed
  • RAID1 tests ❌ failed
  • TPM tests ❌ failed

Copy link
Copy Markdown
Member

@dmbaturin dmbaturin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit I got too caught up in the discussion of the Trixie update timeline and overlooked the fact that this PR mixes purely internal changes with feature removals and config syntax changes.

We must create separate tasks and PRs for eventual removal of DSS and DSA support from SSH. We should also add deprecation warnings about those things now (https://vyos.dev/T7705).

RuntimeDirectoryPreserve=yes
ExecStart=
ExecStart=/usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no --config-dir={{ config_dir }}
ExecStart=/usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog --log-timestamp=no --config-dir={{ config_dir }} --enable-old-settings
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this warrants a comment to explain what the old settings in question are. Or can we change the scripts to make this no longer necessary?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PowerDNS changed the settings format to YAML from legacy config files.

This argument enables our legacy .conf templates to work, pending rewrite to YAML.

Comment thread debian/control
python3-netaddr,
python3-netifaces,
python3-nose,
python3-nose2,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python3-nose2 exists in Bookworm — can we update these dependencies separately right now?

Comment thread debian/control
mokutil,
shim-signed [amd64],
sbsigntool [amd64],
e2fsprogs,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add it right now.

Comment thread debian/control
Package: vyos-1x-smoketest
Architecture: all
Depends:
python3-systemd,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add it right now, in a PR to upgrade dependencies.

RE_GETTY_DEVICES = re.compile(r'.+@(.+).service$')

SD_UNIT_PATH = '/run/systemd/system'
UTMP_PATH = '/run/utmp'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This certainly deserves a separate task.


# Ensure systemd units are removed
units = glob.glob('/run/systemd/system/vyos-container-*')
units = glob.glob('/run/containers/systemd/vyos*')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure this also needs its own task.

# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <http://www.gnu.org/licenses/>.

# T7557: OpenSSH on Trixie does not support DSS keys
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configuration syntax changes always require separate tasks and PRs and cannot be lumped together with any other changes under any circumstances — we need to track them separately for release notes as incompatible changes so we must take every step to make sure they aren't lost.

Please create a separate task in Phorge for DSS support removal and move this to a separate PR.

# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <http://www.gnu.org/licenses/>.

# T7557: OpenSSH does not support DSA keys in Debian Trixie
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also must be a separate task and a separate PR.

@dmbaturin
Copy link
Copy Markdown
Member

The idea to upgrade to Trixie is on hold now, so I'm closing this PR series — not because they are bad, we'll reopen and merge them when we are ready to upgrade.

@dmbaturin dmbaturin closed this Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants