[Touch-packages] [Bug 1904321] Re: does not work as it should " systemctl edit service"

2021-01-14 Thread Launchpad Bug Tracker
[Expired for systemd (Ubuntu) because there has been no activity for 60
days.]

** Changed in: systemd (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1904321

Title:
  does not work as it should " systemctl edit service"

Status in systemd package in Ubuntu:
  Expired

Bug description:
  1. `systemctl edit service(elasticsearch)`
  That creates file `/etc/systemd/system/elasticsearch.service.d/override.conf`

  And I've added following section there:

  [Service]
  LimitMEMLOCK=infinity
  LimitNPROC=32768
  LimitNOFILE=25

  
  3. I've executed `systemctl daemon-reload; systemctl stop elasticsearch; 
systemctl start elasticsearch`

  However those parameters were not applied to a newly started service
  and I got an error "memory locking requested for elasticsearch process
  but memory is not locked".

  To workaround I've created a file
  `/etc/systemd/system/elasticsearch.service.d/elasticsearch.conf` with
  the same content and that fixed the problem.

  
  ubuntu 18.04, all updates are installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1904321/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1904321] Re: does not work as it should " systemctl edit service"

2020-11-15 Thread Dan Streetman
without your manually-created dropin file (with only the override.conf
file), check output of

$ systemctl cat elasticsearch

** Changed in: systemd (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1904321

Title:
  does not work as it should " systemctl edit service"

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  1. `systemctl edit service(elasticsearch)`
  That creates file `/etc/systemd/system/elasticsearch.service.d/override.conf`

  And I've added following section there:

  [Service]
  LimitMEMLOCK=infinity
  LimitNPROC=32768
  LimitNOFILE=25

  
  3. I've executed `systemctl daemon-reload; systemctl stop elasticsearch; 
systemctl start elasticsearch`

  However those parameters were not applied to a newly started service
  and I got an error "memory locking requested for elasticsearch process
  but memory is not locked".

  To workaround I've created a file
  `/etc/systemd/system/elasticsearch.service.d/elasticsearch.conf` with
  the same content and that fixed the problem.

  
  ubuntu 18.04, all updates are installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1904321/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp