Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-01Make Daemon UID and GID uintsBalasankar "Balu" C
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
2021-03-01Pass address of Config to app class and make the config field explicitBalasankar "Balu" C
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
2021-03-01Pass address of Config to daemon classBalasankar "Balu" C
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
2021-03-01Move configuration parsing to Config packageBalasankar "Balu" C
Changelog: changed Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
2021-02-02Add MkDirAll to jailJaime Martinez
2021-02-02Remove wd and add note for pages-rootJaime Martinez
2021-02-02Ensure pages-root is absJaime Martinez
MkdirAll in jail so the full pages-root path is created
2021-02-02Use pages-root as jail pathJaime Martinez
2021-01-21Merge branch 'etc-hosts' into 'master'Vladimir Shushlin
Include /etc/hosts in chroot jail See merge request gitlab-org/gitlab-pages!124
2021-01-21Include /etc/hosts in chroot jailIsmo Toijala
2020-11-18Support for HTTPS over PROXYv2 protocolIgor Wiedler
2020-09-02Remove `LazyUnbind` methodKamil Trzciński
2020-09-02Unshare mount namespace to fix `getcwd`Kamil Trzciński
Previously we would call `LazyUnbind` as soon as proces starts. This does break `getcwd` as it starts returning `(unreachable)` due to mountpoint being gone from `chroot`. This removes the need for `LazyUnbind` and instead `unshare` mount namespace, making the new process to have it's own mounts that are not shared with parent process. The mounts gets cleaned-up once the process exists.
2020-06-30Ensure that cmd.Env is always appended to and not overwrittenJonathon Reinhart
2020-06-30Copy certificates from SSL_CERT_DIR into jailJonathon Reinhart
Refactor out jailDaemonCerts() from jailDaemon()
2019-12-04Improve error reporting in the main packageGrzegorz Bizon
2019-10-07Remove unused Admin gRPC APIKrasimir Angelov
It was ever used. See gitlab-org/omnibus-gitlab/merge_requests/3444#note_194217889 for more details. Done as part of https://gitlab.com/gitlab-org/gitlab/issues/28781.
2018-04-27Restore the old in-place chroot behaviour as a command-line optionNick Thomas
2018-04-26Create /dev/random and /dev/urandom when daemonizing and jailingNick Thomas
Go on Linux normally uses the getrandom() syscall to get entropy. However, this is onl available for Linux version >= 3.17 Making /dev/random and /dev/urandom available in the chrooted jail allows the daemon to operate correctly on these systems. It's important to handle this automatically, as the previous workaround of manually creating these character devices is made more difficult by the use of a random directory in $TMPDIR.
2018-04-23Add gRPC admin health checkJacob Vosmaer (GitLab)
2018-03-21Add /etc/resolv.conf and /etc/ssl/certs to pages chrootAlessio Caiazza
2018-03-13Add more logging to gitlab pages daemonmaxmeyer
2018-03-07Structured loggingJacob Vosmaer (GitLab)
2017-03-08Use fmt/log.Println, not the println builtinNick Thomas
2017-02-23Only pass a metrics fd to the daemon child if a metrics address was specifiedNick Thomas
2017-02-20Pass the metrics address fd to the child processNick Thomas
2016-09-09Allow -listen-http, -listen-https and -listen-proxy to be given more than onceNick Thomas
Per issue #13, sometimes you want to listen on more than one port for each type of listener. This commit adds support for that.
2016-02-16Fix small bugsKamil Trzcinski
2016-02-16Execute unprivileged daemon in chrootKamil Trzcinski
2016-02-16Execute in chrootKamil Trzcinski
2016-02-12Make daemonized name to gitlab-pages-unprivilegedv0.1.0Kamil Trzcinski
2016-02-12Make verify happyKamil Trzcinski
2016-02-12Pass actual signalKamil Trzcinski
2016-02-12Pass more signalsKamil Trzcinski
2016-02-12Display the uid and gid of daemonKamil Trzcinski
2016-02-12Allow to daemonize the appKamil Trzcinski
2016-02-12DaemonizeKamil Trzcinski