Git Product home page Git Product logo

vpsadminos-image-build-scripts's People

Contributors

aither64 avatar cooba13 avatar fbeke avatar jirimedved avatar jirutka avatar lopo avatar mmilata avatar oskar456 avatar pvanek avatar snajpa avatar sorki avatar spetr avatar werkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vpsadminos-image-build-scripts's Issues

sshd does not start on Fedora >=30

sshd sometimes does not start on boot on Fedora 30, even though it is enabled. It happens while testing built images and on staging as well. No idea what's going on, there's not even any attempt at starting it, the service is sometimes just ignored.

CentOS 9 Stream

I installed fresh copy of template CentOS 9 Stream and when tried install any package I got error related to public key. In dnf.log I noticed: dnf.exceptions.Error: GPG check FAILED

021-12-06T16:01:25+0100 DEBUG Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
2021-12-06T16:01:25+0100 CRITICAL Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) [email protected]"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
2021-12-06T16:01:46+0100 INFO Key imported successfully
2021-12-06T16:01:46+0100 INFO Import of key(s) didn't help, wrong key(s)?
2021-12-06T16:01:46+0100 CRITICAL Public key for wget-1.21.1-7.el9.x86_64.rpm is not installed. Failing package is: wget-1.21.1-7.el9.x86_64

Disable OOMScoreAdjust for dbus on Debian 8

dbus is not installed by default, but when installed, the VPS will not boot at all. It fails on:

Process: 237 ExecStart=/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation (code=exited, status=206/OOM_ADJUST)

So we should add an override to the template and disable OOMScoreAdjust on dbus.service.

Debian 11 broken UTC timezone

UTC timezone is broken in Debian 11 image.

root@radio-h:~# zdump /usr/share/zoneinfo/UTC
/usr/share/zoneinfo/UTC  Thu Aug  4 14:17:18 2022 CEST

Override clamav-freshclam.service and set cpu quota

freshclam processes from multiple VPS tend to go crazy all at once, overloading the nodes. We can't really help it if people install it, but we could add override to all templates using systemd and limit the CPU usage, e.g.:

mkdir -p /etc/systemd/system/clamav-freshclam.service.d
cat <<EOF > /etc/systemd/system/clamav-freshclam.service.d/override.conf
[Service]
CPUQuota=25%
CPUWeight=10
EOF

Ubuntu Locale

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "cs_CZ.UTF-8",
        LC_ADDRESS = "cs_CZ.UTF-8",
        LC_MONETARY = "cs_CZ.UTF-8",
        LC_NUMERIC = "cs_CZ.UTF-8",
        LC_TELEPHONE = "cs_CZ.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_IDENTIFICATION = "cs_CZ.UTF-8",
        LC_COLLATE = "en_US.UTF-8",
        LC_MEASUREMENT = "cs_CZ.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LC_TIME = "cs_CZ.UTF-8",
        LC_NAME = "cs_CZ.UTF-8",
        LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I fix with this cmd

update-locale LC_ALL=en_US.UTF-8
update-locale LANGUAGE=en_US.UTF-8
update-locale LANG=en_US.UTF-8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.