<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443789#M173972</link>
    <description>&lt;P&gt;I'm assuming you are using systemctl to stop and start splunk? That would work...&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 00:50:15 GMT</pubDate>
    <dc:creator>gjanders</dc:creator>
    <dc:date>2019-02-06T00:50:15Z</dc:date>
    <item>
      <title>Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443771#M173954</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;So Splunk 7.2.2 was just released and &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.2/Admin/RunSplunkassystemdservice"&gt;it now brings a systemd service&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;However, I noticed that now the splunk system user under Linux cannot start/stop Splunk anymore.&lt;/P&gt;

&lt;P&gt;Here is what I mean. This is how I installed Splunk 7.2.2:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root$ rpm -i splunk-7.2.2-48f4f251be37-linux-2.6-x86_64.rpm
root$ /opt/splunk/bin/splunk enable boot-start -user splunk
Init script installed at /etc/systemd/system/.
Init script is configured to run at boot.
root$ systemctl start Splunkd
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now when I switch to the Splunk user and try to restart Splunk, it is asking me for root credentials:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;root$ su -l splunk
splunk$ /opt/splunk/bin/splunk restart
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: root
Password:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is this intended behavior that I now need root credentials to start/stop Splunk when logged in as the splunk user?&lt;/P&gt;

&lt;P&gt;You see, my usual workflow is to log in as the splunk user, make some changes to configuration files (/opt/splunk belongs to splunk) and then restart Splunk. I don't want the splunk user to have sudo rights. This used to work in 7.2.1 and before.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443771#M173954</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-21T08:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443772#M173955</link>
      <description>&lt;P&gt;Does the post by twinspop in this thread &lt;A href="https://answers.splunk.com/answers/59662/is-there-a-systemd-unit-file-for-splunk.html"&gt;https://answers.splunk.com/answers/59662/is-there-a-systemd-unit-file-for-splunk.html&lt;/A&gt; help?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 21:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443772#M173955</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-12-21T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443773#M173956</link>
      <description>&lt;P&gt;@gjanders Thanks for the reply!&lt;BR /&gt;
So I just modified polkit, but it's not making a difference yet.&lt;BR /&gt;
I will report back if I get it working.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Dec 2018 21:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443773#M173956</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-23T21:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443774#M173957</link>
      <description>&lt;P&gt;Okay so this solution is not working for me because of this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;action.lookup("unit") == "Splunkd.service"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After some debugging (on my CentOS 7) I found that action.lookup("unit") always returns "undefined" instead of the name of the systemd unit.&lt;/P&gt;

&lt;P&gt;I could find some other people having the same issue:&lt;BR /&gt;
&lt;A href="https://superuser.com/questions/1064616/polkit-systemd-interaction"&gt;Polkit / Systemd interaction&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://serverfault.com/questions/905984/centos-polkit-allowing-user-to-restart-specific-service"&gt;Centos/Polkit - allowing user to restart specific service&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It seems my version of systemd is too old (systemd 219), even though I'm running an up-to-date CentOS 7.&lt;/P&gt;

&lt;P&gt;One comment refers to using sudo instead. Perhaps that's worth a try.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 09:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443774#M173957</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-24T09:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443775#M173958</link>
      <description>&lt;P&gt;As an aside, don't use 7.2.2 because of a nasty scheduler bug - use 7.2.3 instead.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443775#M173958</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-12-26T21:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443776#M173959</link>
      <description>&lt;P&gt;I have updated to 7.2.3. However, the issue is still present.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 08:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443776#M173959</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-28T08:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443777#M173960</link>
      <description>&lt;P&gt;I have suspicions, but not a lot of hard proof yet.  My guess is that when Splunk 7.2.2 (and later) are running under the systemd unit file provided by Splunk, that calls to &lt;CODE&gt;splunk stop/start/restart&lt;/CODE&gt; wind up being redirected/proxied to the equivalent &lt;CODE&gt;systemctl stop/start/restart splunk&lt;/CODE&gt; command.&lt;/P&gt;

&lt;P&gt;If you look at the &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.2/Admin/RunSplunkassystemdservice#Additional_options_for_enable_boot-start"&gt;docs on the systemd unit file&lt;/A&gt;, you'll see that Splunk requires several specific settings in the unit file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Type=simple
Restart=always
ExecStart=$SPLUNK_HOME/bin/splunk _internal_launch_under_systemd
Delegate=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I believe the suggestion here is that "once you decide to be systemd's child, then systemd must be the one to arbitrate your startup and shutdown".  Otherwise, how can systemd tell the difference between "I did a restart outside of its purview" and "The process crashed and I need to restart it"&lt;/P&gt;

&lt;P&gt;Splunk already does something similar on Windows where the &lt;CODE&gt;splunk start/stop/restart&lt;/CODE&gt; commands make calls to the Windows Service Control Manager (as it has requirements similar to those of systemd about how services get launched)&lt;/P&gt;

&lt;P&gt;In my opinion, the two most unfortunate parts of this are that this came to us via a maintenance release (via 7.2.2, not say 7.3.0), and that there seems to be no cmdline arguments to &lt;CODE&gt;splunk enable boot-start&lt;/CODE&gt; to say "I would really prefer the legacy init system approach thanks".   Hopefully I'm wrong on this last one.&lt;/P&gt;

&lt;P&gt;In the meantime, I'll try to get this set up and watch it under strace and see if I can get more proof.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 17:02:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443777#M173960</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2018-12-31T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443778#M173961</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I believe the suggestion here is that&lt;BR /&gt;
"once you decide to be systemd's&lt;BR /&gt;
child, then systemd must be the one to&lt;BR /&gt;
arbitrate your startup and shutdown".&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;It's slightly more complicated than this, once your running an OS using systemd, than systemd should be the one to shutdown/startup your process!&lt;BR /&gt;
On newer Oracle releases (redhat based), they use systemd, init.d exists but it's just a process running under systemd.&lt;/P&gt;

&lt;P&gt;If Splunk starts as part of OS boot, no problem, it's a systemd process, however if you run splunk restart, or splunk stop/start on the command line, the process no longer appears as a systemd process (note that I'm using init here, I also tested using systemd config files on Splunk 7.0 with the exact same issue).&lt;/P&gt;

&lt;P&gt;The challenge here is that once the OS shutdown kicks in, systemd kills user level processes on shutdown, I spent a number of hours with support cases, trying systemd switches et cetera but I never found a way to stop systemd from killing the process (well it wasn't consistent, but &amp;gt;50% of the time splunk was terminated and warnings about corruption appeared).&lt;/P&gt;

&lt;P&gt;Note that the above problem &lt;EM&gt;only&lt;/EM&gt; exists if you restart splunk after boot time, if the splunk was started by init.d (under systemd) or by systemd (using a unit file), then there is no issue as Splunk shutdown is run gracefully, not killed.&lt;/P&gt;

&lt;P&gt;Anyway, I among others had an enhancement request in to use systemctl splunk stop/start once you start using systemd as that is the only way to keep systemd happy!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 22:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443778#M173961</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-12-31T22:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443779#M173962</link>
      <description>&lt;P&gt;Just add all needed commands to sudoers separately:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk ALL=(root) NOPASSWD: /usr/bin/systemctl restart Splunkd.service
splunk ALL=(root) NOPASSWD: /usr/bin/systemctl stop Splunkd.service
splunk ALL=(root) NOPASSWD: /usr/bin/systemctl start Splunkd.service 
splunk ALL=(root) NOPASSWD: /usr/bin/systemctl status Splunkd.service
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After that, the splunk user in the splunk group, should be able to run systemctl commands from ALL terminals without being prompted for a password.&lt;/P&gt;

&lt;P&gt;Now you have to change the admin's runbook a bit so they know to use systemctl, but that is all.  &lt;/P&gt;

&lt;P&gt;See sudo man pages for more details.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 18:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443779#M173962</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-02T18:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443780#M173963</link>
      <description>&lt;P&gt;When in systemd act like the systemd&lt;/P&gt;

&lt;P&gt;Dont put half in SysV and half in SystemD.  That just wont work well at all.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 18:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443780#M173963</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-02T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443781#M173964</link>
      <description>&lt;P&gt;Agreed, however there was no real option until 7.2.x&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 20:58:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443781#M173964</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2019-01-02T20:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443782#M173965</link>
      <description>&lt;P&gt;Thanks. This helped me a lot. I made two modifications to get it working:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk ALL=(root) NOPASSWD: /usr/bin/systemctl restart Splunkd.service
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For one, the service is called Splunkd instead of splunkd.&lt;BR /&gt;
Secondly, I changed it from (splunk) to (root). This means that splunk can run this command as the root user.&lt;/P&gt;

&lt;P&gt;Now it works when I run:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk$ sudo /usr/bin/systemctl restart Splunkd.service
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Jan 2019 10:08:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443782#M173965</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2019-01-04T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443783#M173966</link>
      <description>&lt;P&gt;Perfect,&lt;BR /&gt;
I’ll update my post&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443783#M173966</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-04T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443784#M173967</link>
      <description>&lt;P&gt;You broke my karma rut with the upvote!  Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 14:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443784#M173967</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-04T14:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443785#M173968</link>
      <description>&lt;P&gt;I upvoted and accepted your answer. However, for some reason, it was reverted back. I will try again later.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 19:45:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443785#M173968</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2019-01-04T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443786#M173969</link>
      <description>&lt;P&gt;We’ll look into it, thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jan 2019 00:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443786#M173969</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-01-05T00:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443787#M173970</link>
      <description>&lt;P&gt;If an admin actually started Splunk as  &lt;CODE&gt;root&lt;/CODE&gt; at least once,  I would suggest to check permissions on directory   &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt; ( with recursion ), prior to attempting to start Splunk as your user of the limited domain ( in your case,   &lt;CODE&gt;splunk&lt;/CODE&gt; ) ...&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 17:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443787#M173970</guid>
      <dc:creator>yarick</dc:creator>
      <dc:date>2019-01-10T17:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443788#M173971</link>
      <description>&lt;P&gt;I have 6.6.7 in sysd, it’s doable but not out of the box.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 00:33:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443788#M173971</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-02-06T00:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443789#M173972</link>
      <description>&lt;P&gt;I'm assuming you are using systemctl to stop and start splunk? That would work...&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 00:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443789#M173972</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2019-02-06T00:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 7.2.2 - systemd - Root privileges required when starting/stopping Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443790#M173973</link>
      <description>&lt;P&gt;Your suspicions are well founded, this is indeed in line with windows and AIX, splunk tries to detect if it is running under systemd and if it does so correctly proxies calls to systemctl. There is a way to say  "I would really prefer the legacy init system approach thanks" use flag -systemd-managed 0 when running enable boot-start in addition to whatever other options you specify.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 07:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-7-2-2-systemd-Root-privileges-required-when-starting/m-p/443790#M173973</guid>
      <dc:creator>dimrirahul</dc:creator>
      <dc:date>2019-02-09T07:15:03Z</dc:date>
    </item>
  </channel>
</rss>

