Hey, I still can’t make it work, I don’t have a physical access to the machine so I can’t access the Linux command menu as expected in the tutorial. Any other way I can add the –no-log for the init run?
Thanks, Ben From: [email protected] [mailto:[email protected]] On Behalf Of James Hunt Sent: Friday, May 16, 2014 11:13 AM To: Ben Diamant Cc: [email protected] Subject: Re: --no-log option Hi Ben, If you read init(8), you'll see that if you run init as a root user (without specifying '--user'), init will re-exec itself and run *telinit*. If you then read telinit(8) or run 'telinit --help' you'll see that it has no '--no-log' option. Further, you cannot run a second instance of init anyway. To do what you want, you need to add '--no-log' to the kernel command-line set by your bootloader and used by PID 1. An example of how you can do this temporarily is shown in the Cookbook: http://upstart.ubuntu.com/cookbook/#add-verbose-or-debug-to-the-kernel-command-line If you want to make such a change permanent and you are running Debian or Ubuntu, modify GRUB_CMDLINE_LINUX in /etc/default/grub and then run 'sudo update-grub'. 2014-05-15 16:34 GMT+01:00 Ben Diamant <[email protected]<mailto:[email protected]>>: Hey, I want upstart processes to stop logging to /var/log/upstart/ But the no log option does not work, I’m on Ubuntu 12.04. [cid:[email protected]] What’s wrong? -- upstart-devel mailing list [email protected]<mailto:[email protected]> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel Kind regards, James. -- James Hunt ____________________________________ #upstart on freenode http://upstart.ubuntu.com/cookbook https://lists.ubuntu.com/mailman/listinfo/upstart-devel Email secured by Check Point.
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
