Projects
Eulaceura:Factory
dde-daemon
_service:obs_scm:0003-dde-daemon-uos-fix-failed...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch of Package dde-daemon
diff -Nuar dde-daemon-5.14.122/bin/dde-system-daemon/main.go dde-daemon-5.14.122.new/bin/dde-system-daemon/main.go --- dde-daemon-5.14.122/bin/dde-system-daemon/main.go 2023-04-25 11:19:13.542003330 +0800 +++ dde-daemon-5.14.122.new/bin/dde-system-daemon/main.go 2023-04-25 11:19:47.070391949 +0800 @@ -70,8 +70,15 @@ if err != nil { logger.Fatal("failed to call NameHasOwner:", err) } + if hasOwner { logger.Warningf("name %q already has the owner", dbusServiceName) + // avoid faile start account information + // first is launched by dbus ,second by systemd ,when first success ,the second just report ok + Ippid := os.Getppid() + if Ippid ==1 { + os.Exit(0) + } os.Exit(1) }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2