Can't enable grafana on boot in Fedora because systemd-sysv-install missingLinux kernel 3.3 power...

Can chords be inferred from melody alone?

Which genus do I use for neutral expressions in German?

Did Captain America make out with his niece?

Did silent film actors actually say their lines or did they simply improvise “dialogue” while being filmed?

Repeated! Factorials!

Does a 4 bladed prop have almost twice the thrust of a 2 bladed prop?

Can a Hogwarts student refuse the Sorting Hat's decision?

Differentiability of operator norm

Where to pee in London?

What can make Linux so unresponsive?

Why do private jets such as Gulfstream fly higher than other civilian jets?

Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?

Making pause in a diagram

Count number of occurences of particular numbers in list

Why should public servants be apolitical?

What does VB stand for?

Probably terminated or laid off soon; confront or not?

Why do proponents of guns oppose gun competency tests?

How would a family travel from Indiana to Texas in 1911?

Are children a reason to be rejected for a job?

How do I get the =LEFT function in excel, to also take the number zero as the first number?

How many years before enough atoms of your body are replaced to survive the sudden disappearance of the original body’s atoms?

Does the length of a password for Wi-Fi affect speed?

Is there such thing as a "3-dimensional surface?"



Can't enable grafana on boot in Fedora because systemd-sysv-install missing


Linux kernel 3.3 power regressionSystemd Service Script Not EchoingAdding a systemd .service (Debian)Fedora 8 system resets during bootWhy doesn't my systemd user unit start at boot?mysql service restarted during user being connected lead to failing servicestart a service a at bootime in systemdInterrupt boot from systemd (and/or SysV) unitWhy is systemd stopping service immediately after it is started?live555MediaServer run as daemon (CentOS 7)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Fairly stock standard Fedora 30 install:



$ uname -a
Linux <redacted> 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3 15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/fedora-release
Fedora release 30 (Thirty)


I have installed grafana using standard instructions, ie. add grafana rpm repo and then sudo dnf install grafana.



I can manually start and use grafana without issue using sudo systemctl start grafana-server. I cannot, however, get it to start on boot.



Here's what happens when I use the commonly recommended method:



$ sudo systemctl enable grafana-server
Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory


systemd-sysv-install is indeed missing:



$ ls /usr/lib/systemd/
boot systemd-bless-boot systemd-journald systemd-rfkill systemd-user-sessions
catalog systemd-bootchart systemd-localed systemd-shutdown systemd-vconsole-setup
libsystemd-shared-241.so systemd-boot-check-no-failures systemd-logind systemd-sleep systemd-veritysetup
network systemd-cgroups-agent systemd-makefs systemd-socket-proxyd systemd-volatile-root
ntp-units.d systemd-coredump systemd-modules-load systemd-sulogin-shell system-generators
portable systemd-cryptsetup systemd-networkd systemd-sysctl system-preset
purge-nobody-user systemd-dissect systemd-networkd-wait-online systemd-timedated system-shutdown
resolv.conf systemd-export systemd-portabled systemd-timesyncd system-sleep
system systemd-fsck systemd-quotacheck systemd-time-wait-sync user
systemd systemd-growfs systemd-random-seed systemd-udevd user-environment-generators
systemd-ac-power systemd-hibernate-resume systemd-remount-fs systemd-update-done user-generators
systemd-backlight systemd-hostnamed systemd-reply-password systemd-update-utmp user-preset
systemd-binfmt systemd-initctl systemd-resolved systemd-user-runtime-dir


Apparently systemd-sysv-install is supposed to be a symlink to chkconfig on Fedora. So is it Fedora, grafana or systemd's responsibility to decide which tool is responsible for installing the boot script for non-native services? And therefore who is responsible for providing the missing link?



I see anaconda had the same drama with the network service.










share|improve this question































    0















    Fairly stock standard Fedora 30 install:



    $ uname -a
    Linux <redacted> 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3 15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    $ cat /etc/fedora-release
    Fedora release 30 (Thirty)


    I have installed grafana using standard instructions, ie. add grafana rpm repo and then sudo dnf install grafana.



    I can manually start and use grafana without issue using sudo systemctl start grafana-server. I cannot, however, get it to start on boot.



    Here's what happens when I use the commonly recommended method:



    $ sudo systemctl enable grafana-server
    Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
    Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory


    systemd-sysv-install is indeed missing:



    $ ls /usr/lib/systemd/
    boot systemd-bless-boot systemd-journald systemd-rfkill systemd-user-sessions
    catalog systemd-bootchart systemd-localed systemd-shutdown systemd-vconsole-setup
    libsystemd-shared-241.so systemd-boot-check-no-failures systemd-logind systemd-sleep systemd-veritysetup
    network systemd-cgroups-agent systemd-makefs systemd-socket-proxyd systemd-volatile-root
    ntp-units.d systemd-coredump systemd-modules-load systemd-sulogin-shell system-generators
    portable systemd-cryptsetup systemd-networkd systemd-sysctl system-preset
    purge-nobody-user systemd-dissect systemd-networkd-wait-online systemd-timedated system-shutdown
    resolv.conf systemd-export systemd-portabled systemd-timesyncd system-sleep
    system systemd-fsck systemd-quotacheck systemd-time-wait-sync user
    systemd systemd-growfs systemd-random-seed systemd-udevd user-environment-generators
    systemd-ac-power systemd-hibernate-resume systemd-remount-fs systemd-update-done user-generators
    systemd-backlight systemd-hostnamed systemd-reply-password systemd-update-utmp user-preset
    systemd-binfmt systemd-initctl systemd-resolved systemd-user-runtime-dir


    Apparently systemd-sysv-install is supposed to be a symlink to chkconfig on Fedora. So is it Fedora, grafana or systemd's responsibility to decide which tool is responsible for installing the boot script for non-native services? And therefore who is responsible for providing the missing link?



    I see anaconda had the same drama with the network service.










    share|improve this question



























      0












      0








      0








      Fairly stock standard Fedora 30 install:



      $ uname -a
      Linux <redacted> 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3 15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      $ cat /etc/fedora-release
      Fedora release 30 (Thirty)


      I have installed grafana using standard instructions, ie. add grafana rpm repo and then sudo dnf install grafana.



      I can manually start and use grafana without issue using sudo systemctl start grafana-server. I cannot, however, get it to start on boot.



      Here's what happens when I use the commonly recommended method:



      $ sudo systemctl enable grafana-server
      Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
      Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
      Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory


      systemd-sysv-install is indeed missing:



      $ ls /usr/lib/systemd/
      boot systemd-bless-boot systemd-journald systemd-rfkill systemd-user-sessions
      catalog systemd-bootchart systemd-localed systemd-shutdown systemd-vconsole-setup
      libsystemd-shared-241.so systemd-boot-check-no-failures systemd-logind systemd-sleep systemd-veritysetup
      network systemd-cgroups-agent systemd-makefs systemd-socket-proxyd systemd-volatile-root
      ntp-units.d systemd-coredump systemd-modules-load systemd-sulogin-shell system-generators
      portable systemd-cryptsetup systemd-networkd systemd-sysctl system-preset
      purge-nobody-user systemd-dissect systemd-networkd-wait-online systemd-timedated system-shutdown
      resolv.conf systemd-export systemd-portabled systemd-timesyncd system-sleep
      system systemd-fsck systemd-quotacheck systemd-time-wait-sync user
      systemd systemd-growfs systemd-random-seed systemd-udevd user-environment-generators
      systemd-ac-power systemd-hibernate-resume systemd-remount-fs systemd-update-done user-generators
      systemd-backlight systemd-hostnamed systemd-reply-password systemd-update-utmp user-preset
      systemd-binfmt systemd-initctl systemd-resolved systemd-user-runtime-dir


      Apparently systemd-sysv-install is supposed to be a symlink to chkconfig on Fedora. So is it Fedora, grafana or systemd's responsibility to decide which tool is responsible for installing the boot script for non-native services? And therefore who is responsible for providing the missing link?



      I see anaconda had the same drama with the network service.










      share|improve this question














      Fairly stock standard Fedora 30 install:



      $ uname -a
      Linux <redacted> 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3 15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
      $ cat /etc/fedora-release
      Fedora release 30 (Thirty)


      I have installed grafana using standard instructions, ie. add grafana rpm repo and then sudo dnf install grafana.



      I can manually start and use grafana without issue using sudo systemctl start grafana-server. I cannot, however, get it to start on boot.



      Here's what happens when I use the commonly recommended method:



      $ sudo systemctl enable grafana-server
      Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
      Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
      Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory


      systemd-sysv-install is indeed missing:



      $ ls /usr/lib/systemd/
      boot systemd-bless-boot systemd-journald systemd-rfkill systemd-user-sessions
      catalog systemd-bootchart systemd-localed systemd-shutdown systemd-vconsole-setup
      libsystemd-shared-241.so systemd-boot-check-no-failures systemd-logind systemd-sleep systemd-veritysetup
      network systemd-cgroups-agent systemd-makefs systemd-socket-proxyd systemd-volatile-root
      ntp-units.d systemd-coredump systemd-modules-load systemd-sulogin-shell system-generators
      portable systemd-cryptsetup systemd-networkd systemd-sysctl system-preset
      purge-nobody-user systemd-dissect systemd-networkd-wait-online systemd-timedated system-shutdown
      resolv.conf systemd-export systemd-portabled systemd-timesyncd system-sleep
      system systemd-fsck systemd-quotacheck systemd-time-wait-sync user
      systemd systemd-growfs systemd-random-seed systemd-udevd user-environment-generators
      systemd-ac-power systemd-hibernate-resume systemd-remount-fs systemd-update-done user-generators
      systemd-backlight systemd-hostnamed systemd-reply-password systemd-update-utmp user-preset
      systemd-binfmt systemd-initctl systemd-resolved systemd-user-runtime-dir


      Apparently systemd-sysv-install is supposed to be a symlink to chkconfig on Fedora. So is it Fedora, grafana or systemd's responsibility to decide which tool is responsible for installing the boot script for non-native services? And therefore who is responsible for providing the missing link?



      I see anaconda had the same drama with the network service.







      fedora systemd sysvinit chkconfig






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 22 mins ago









      Heath RafteryHeath Raftery

      3151 silver badge9 bronze badges




      3151 silver badge9 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0














          The power of rubber-ducking the question shines again! Sure enough, installing chkconfig manually resolves my original issue:



          $ sudo dnf install chkconfig -y
          $ sudo systemctl enable grafana-server
          Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
          Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
          Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.


          So unless anyone has a better answer, the best I can come up with is that the systemd install on Fedora 30 is incomplete. You must also install chkconfig.






          share|improve this answer




























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f534463%2fcant-enable-grafana-on-boot-in-fedora-because-systemd-sysv-install-missing%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The power of rubber-ducking the question shines again! Sure enough, installing chkconfig manually resolves my original issue:



            $ sudo dnf install chkconfig -y
            $ sudo systemctl enable grafana-server
            Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
            Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
            Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.


            So unless anyone has a better answer, the best I can come up with is that the systemd install on Fedora 30 is incomplete. You must also install chkconfig.






            share|improve this answer






























              0














              The power of rubber-ducking the question shines again! Sure enough, installing chkconfig manually resolves my original issue:



              $ sudo dnf install chkconfig -y
              $ sudo systemctl enable grafana-server
              Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
              Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
              Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.


              So unless anyone has a better answer, the best I can come up with is that the systemd install on Fedora 30 is incomplete. You must also install chkconfig.






              share|improve this answer




























                0












                0








                0







                The power of rubber-ducking the question shines again! Sure enough, installing chkconfig manually resolves my original issue:



                $ sudo dnf install chkconfig -y
                $ sudo systemctl enable grafana-server
                Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
                Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
                Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.


                So unless anyone has a better answer, the best I can come up with is that the systemd install on Fedora 30 is incomplete. You must also install chkconfig.






                share|improve this answer













                The power of rubber-ducking the question shines again! Sure enough, installing chkconfig manually resolves my original issue:



                $ sudo dnf install chkconfig -y
                $ sudo systemctl enable grafana-server
                Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
                Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server
                Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.


                So unless anyone has a better answer, the best I can come up with is that the systemd install on Fedora 30 is incomplete. You must also install chkconfig.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 20 mins ago









                Heath RafteryHeath Raftery

                3151 silver badge9 bronze badges




                3151 silver badge9 bronze badges

































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f534463%2fcant-enable-grafana-on-boot-in-fedora-because-systemd-sysv-install-missing%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

                    The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

                    Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...