sjtug / mirror-requests

新镜像请求 & BUG 汇报
https://mirrors.sjtug.sjtu.edu.cn
49 stars 2 forks source link

Gentoo 同步失败 #2

Closed htfy96 closed 6 years ago

htfy96 commented 6 years ago

类别:Bug反馈

镜像名:Gentoo

{
  "_index": "logzioCustomerIndex180311_v5",
  "_type": "lug",
  "_id": "AWIU99uyA5r_R2YF4HyU.account-28646",
  "_version": 1,
  "_score": null,
  "_source": {
    "level": "info",
    "message": "Stderr: rsync: opendir \"/.~tmp~\" (in gentoo-portage) failed: Permission denied (13)\nrsync: opendir \"/app-admin/.~tmp~\" (in gentoo-portage) failed: Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]\n",
    "type": "lug",
    "tags": [
      "_logz_json_tcp_5050"
    ],
    "@timestamp": "2018-03-11T12:10:10Z",
    "@version": "1",
    "worker": "gentoo"
  },
  "fields": {
    "@timestamp": [
      1520770210000
    ]
  },
  "highlight": {
    "worker": [
      "@kibana-highlighted-field@gentoo@/kibana-highlighted-field@"
    ],
    "message": [
      "@kibana-highlighted-field@Stderr@/kibana-highlighted-field@: rsync: opendir \"/.~tmp~\" (in gentoo-portage) failed: Permission denied (13)\nrsync: opendir \"/app-admin/.~tmp~\" (in gentoo-portage) failed: Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.2]\n"
    ]
  },
  "sort": [
    1520770210000
  ]
}

解决方案 : --exclude .~tmp~/

htfy96 commented 6 years ago

Fixed in https://github.com/sjtug/mirror-docker/commit/c81c764cfdb4e64f16033b21a5b770d4b9fcd892