#4389 set user of kojikamid service to Administrator
Merged a month ago by tkopecek. Opened a month ago by julian8628.
julian8628/koji fix-kojikamid-install  into  master

file modified
+1
@@ -756,6 +756,7 @@ 

      if opts.install:

          ret, output = run(['/bin/cygrunsrv', '--install', prog,

                             '--path', sys.executable, '--args', os.path.abspath(prog),

+                            '--user', 'Administrator',

                             '--type', 'auto', '--dep', 'Dhcp',

                             '--disp', 'Koji Windows Daemon',

                             '--desc', 'Runs Koji tasks assigned to a VM'],

In some newer Windows Servers/Cygwin, the default user SYSTEM can't be automatically translated to Administrator. In this case, the kojikamid service will be invoked by user: SYSTEM and corresponding $HOME and other relevant things are wrong.

For example, for ssh, ".ssh" dir will be /home/SYSTEM/.ssh rather than /home/Administrator/.ssh

fixes #4390

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

a month ago

Commit 2a7585b fixes this pull-request

Pull-Request has been merged by tkopecek

a month ago
Metadata