[Bug] 可能导致系统无法获取ipv6 DHCPv6地址

Open
#540 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
bash, linux, shell

Research direction

Start by reproducing the issue on Ubuntu 24.04.4 using commit 9993f38 and inspect the installation and clashctl start/stop flow around DHCPv6 and netplan. Done means starting the project no longer prevents the system from obtaining a DHCPv6 address, without manually running netplan apply between stopping and starting Clash.

Written by the indexing model from the issue text.

Description

bug
前置确认
  • 我确认这是项目 Bug, 而非操作不当或使用不清楚。否则请使用其他 Issue 模板或移步讨论区
  • 我已查阅 常见问题,但仍未找到解决方案
  • 我已使用关键字查询相关 Issues,但仍未找到解决方案
  • 我已确认本地与远程仓库最新提交的哈希一致。 (git rev-parse --short HEAD)
使用的分支

master分支

Commit ID

9993f38

Shell 环境

bash

系统信息
Description:    Ubuntu 24.04.4 LTS
Release:        24.04
Codename:       noble
描述 & 复现

使用root用户安装该项目后,无法获取ipv6 dhcpv6地址,必须关闭后重启网络才能获取,已排除不是防火墙的问题,使clash的锅。

Image 正常状态。 Image 不正常状态。

当前解决方案,通过脚本检测,没有地址时:clashctl off -> netplan apply -> clashctl on。

日志

Dominant language
Shell
Stars
15.2k
Forks
1.7k
Avg merge
1d 9h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nelvko/clashctl

All issues in nelvko/clashctl

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.