有谁知道 /etc/sysconfig和服务管理器 这是什么情况

是 TW 还是 Leap?systemdtarget 和 systemdservice 这两个 namespace 在 yast2 里。具体点在 /usr/share/YaST2/lib/yast2/systemd。我需要复现一下。

Tumbleweed 20180828 滴

@holton_jiang

我的 20180920 没有这个问题,于是我翻了一下 Tumbleweed 的 Changes。重点翻了一下这几个版本之间的,找到了原因

==== yast2 ====
Version update (4.1.0 -> 4.1.6)
- Add missing CompoundService#support_start_on_boot?
  (bsc#1106591).
- 4.1.6
- Increase timeout for the execution of systemctl commands
  (bsc#1098910).
- 4.1.5
- Fix the Yast2::ServiceWidget to not show the "On Boot" option
  when it is not supported (related to fate#319428).
- 4.1.4
- Refactor systemd classes, reorganizing them in real classes
  under the Yast2::Systemd namespace instead of using modules
  (related to fate#319428).
==== yast2-services-manager ====
Version update (4.0.4 -> 4.1.5)
- Update calls to YaST2 systemd classes (related to fate#319428)
==== yast2-sysconfig ====
Version update (4.0.1 -> 4.1.0)
- Update calls to Yast2 systemd classes (related to fate#319428)

应该是你更新了 yast2 没有更新对应的模块造成的。如果你不方便更新,可以自己改一下 /usr/share/YaST2/modules 下面的这三个文件:

Sysconfig.rb
services_manager_service.rb
services_manager_target.rb

改法见下:

1赞

谢谢,太忙了,现在才来回复

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。