我正在使用 debian stable 的服务器上运行多个 openvpn 实例;以及一些客户端作为服务器实例。现在,当这些实例之一失败时,systemd 似乎会杀死并重新启动整个进程组:
5 月 27 日 12:09:44 tritone systemd[1]:openvpn@client_uk.service:主进程退出,代码=退出,状态=1/FAILURE 5 月 27 日 12:09:44 tritone systemd[1]:单元 openvpn@client_uk.service 进入失败状态。 5 月 27 日 12:10:01 tritone systemd[1]:停止 OpenVPN 连接到 client_rhode... 5 月 27 日 12:10:01 tritone systemd[1]:启动 OpenVPN 连接到 client_uk... 5 月 27 日 12:10:01 tritone systemd[1]:停止 OpenVPN 连接到 client_ukraine... 5 月 27 日 12:10:01 tritone systemd[1]:停止 OpenVPN 连接到 server_udp... 5 月 27 日 12:10:01 tritone systemd[1]:停止 OpenVPN 服务... 5 月 27 日 12:10:01 tritone systemd[1]:启动 OpenVPN …
我需要降级一些 apt 软件包,这些软件包我以前固定用于测试,默认为 stable 。这是首选项文件:
包裹: * 引脚:释放 a=稳定 引脚优先级:1001 包裹: * 引脚:发布一个=测试 引脚优先级:500 包裹: * 引脚:释放 a=unstable 引脚优先级:400
当我检查升级包之一的策略时,我得到:
apt-cache 策略 libstdc++5 libstdc++5: 已安装:1:3.3.6-28 候选人:1:3.3.6-28 版本表: *** 1:3.3.6-28 0 500 http://mirror.hetzner.de/debian/packages/ testing/main amd64 包 400 http://mirror.hetzner.de/debian/packages/unstable/main amd64 包 100 /var/lib/dpkg/状态 1:3.3.6-27.2 0 990 http://mirror.hetzner.de/debian/packages/ stable/main amd64 软件包 990 http://cdn.debian.net/debian/ stable/main amd64 软件包
每当我更改测试和不稳定的设置时,我都会看到此处反映的优先级更改。尽管如此,稳定包的优先级不会改变,无论我到目前为止尝试过什么。这个想法是将它设置为 >1000,以实际执行降级。任何提示,如何实际更改它?
这是完整的输出apt-cache policy
:
包文件: 100 /var/lib/dpkg/状态 释放一个=现在 500 http://llvm.org/apt/jessie/llvm-toolchain-jessie-3.7/main amd64 包 发布 n=llvm-toolchain-jessie-3.7,c=main 来源 llvm.org 990 http://security.debian.org/stable/updates/non-free amd64 Packages 发布 v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=non-free 来源 security.debian.org 990 …