Git Daemon не использует указанный базовый путь

У меня следующая конфигурация в /etc/xinetd.d/git

# description: The git server offers access to git repositories
service git
{
        disable = no
        type            = UNLISTED
        port            = 9418
        socket_type     = stream
        wait            = no
        user            = nobody
        server          = /usr/bin/git
        server_args     = daemon --inetd --export-all --base-path=/home/git
        log_on_failure  += USERID
}

Когда я иду клонировать репозиторий с помощью git clone git: // 10.1.1.10/cabinet_labels.git журналы показывают, что это относится к неправильному базовому пути.

2016-05-12_18:25:17.21483 git-daemon starting.
2016-05-12_18:25:17.33264 [403] Ready to rumble
2016-05-12_18:26:33.45470 [976] Connection from 10.1.1.8:56960
2016-05-12_18:26:33.45485 [976] Extended attributes (16 bytes) exist <host=10.1.1.10>
2016-05-12_18:26:33.45514 [976] Request upload-pack for '/cabinet_labels.git'
2016-05-12_18:26:33.45525 [976] '/var/lib/cabinet_labels.git' does not appear to be a git repository
2016-05-12_18:26:33.45618 [403] [976] Disconnected (with error)

Подскажите, пожалуйста, что мне здесь не хватает?

0
12.05.2016, 21:38
0 ответов

Теги

Похожие вопросы