No, ExecStart twice is correct. This is the way systemd overrides work; normally a value for a keyword adds to the list of values from the base .service definition. I don't want that, I want to replace it. The special ExecStart= with no value tells systemd to reset the base value to empty, then the second one starts a new list thus replacing the old command. (This is all explained in the systemd.unit man page.)
I should tell you that I no longer use this workaround, since after a fair amount of working with and investigating ureadahead (I thought I might actually contribute a permanent fix) I decided that ureadahead is useless in my configuration, since I only reboot after a kernel update anyway, and ureadahead only can ever help on the second and subsequent boots of the same config (most any changes to /etc will cause ureadahead to rescan at the the next boot.) So I have just purged ureadahead on all my systems. On Sat, Sep 29, 2018 at 5:39 AM midenok <1579...@bugs.launchpad.net> wrote: > > Why it contains ExecStart 2 times? > > [Service] > ExecStart= > ExecStart=/sbin/ureadahead -q > > Did you mean ExecStop? > > [Service] > ExecStop= > ExecStart=/sbin/ureadahead -q > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1579580 > > Title: > ureadahead reports relative path errors in journalctl output > > Status in ureadahead package in Ubuntu: > Confirmed > > Bug description: > ureadahead reports relative path errors in my journalctl output. > > This is currently 4368 lines of useless annoyances in my logs. > > To see if you have this problem, run: journalctl -b | grep ureadahead > | grep relative | wc -l > > Thanks > > ProblemType: Bug > DistroRelease: Ubuntu 16.04 > Package: ureadahead 0.100.0-19 > ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8 > Uname: Linux 4.4.0-22-generic x86_64 > NonfreeKernelModules: zfs zunicode zcommon znvpair zavl > ApportVersion: 2.20.1-0ubuntu2 > Architecture: amd64 > Date: Sun May 8 15:55:18 2016 > InstallationDate: Installed on 2016-04-04 (34 days ago) > InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Beta amd64 > (20160325) > ProcEnviron: > TERM=linux > PATH=(custom, no user) > LANG=en_US.UTF-8 > SHELL=/bin/bash > SourcePackage: ureadahead > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/ureadahead/+bug/1579580/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579580 Title: ureadahead reports relative path errors in journalctl output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ureadahead/+bug/1579580/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs