<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/daemonizer, branch v0.11.0.0</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.11.0.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.11.0.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2017-07-21T22:34:56Z</updated>
<entry>
<title>daemon: Add ability to write a PID file</title>
<updated>2017-07-21T22:34:56Z</updated>
<author>
<name>Erik de Castro Lopo</name>
<email>erikd@mega-nerd.com</email>
</author>
<published>2017-07-19T11:45:00Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=51efb21713ee630ca9c2f6aaaea98f18bce72106'/>
<id>urn:sha1:51efb21713ee630ca9c2f6aaaea98f18bce72106</id>
<content type='text'>
The PID file will only be written if the daemon is called with the
`--detach` command line argument and a `--pidfile /some/file/path`
argument.
</content>
</entry>
<entry>
<title>Don't hardcode /tmp</title>
<updated>2017-07-11T11:38:51Z</updated>
<author>
<name>Howard Chu</name>
<email>hyc@symas.com</email>
</author>
<published>2017-07-11T11:38:51Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=33d17c37e80acc8d810d870eee5f5aac202f7804'/>
<id>urn:sha1:33d17c37e80acc8d810d870eee5f5aac202f7804</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1897</title>
<updated>2017-03-21T12:10:36Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2017-03-21T12:10:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=4b345313072bf6f37552dc8ebd6551f81cf66043'/>
<id>urn:sha1:4b345313072bf6f37552dc8ebd6551f81cf66043</id>
<content type='text'>
44a5b038 create a foreground non-interactive mode (Noah Watkins)
</content>
</entry>
<entry>
<title>create a foreground non-interactive mode</title>
<updated>2017-02-22T00:44:22Z</updated>
<author>
<name>Noah Watkins</name>
<email>noahwatkins@gmail.com</email>
</author>
<published>2017-02-22T00:44:22Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=44a5b03841e34154e824fcc7773c458326a3487f'/>
<id>urn:sha1:44a5b03841e34154e824fcc7773c458326a3487f</id>
<content type='text'>
Signed-off-by: Noah Watkins &lt;noahwatkins@gmail.com&gt;
</content>
</entry>
<entry>
<title>update copyright year, fix occasional lack of newline at line end</title>
<updated>2017-02-21T17:38:18Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2017-02-21T17:38:18Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c3599fa7b94764d8f1cf7828a3f3a46067efe359'/>
<id>urn:sha1:c3599fa7b94764d8f1cf7828a3f3a46067efe359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Dropped "bit" from bitmonero.</title>
<updated>2016-09-26T21:22:30Z</updated>
<author>
<name>Randi Joseph</name>
<email>randi@codehalo.com</email>
</author>
<published>2016-09-26T14:42:29Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9e54616924c781def53f7f6ece73c0d921e81995'/>
<id>urn:sha1:9e54616924c781def53f7f6ece73c0d921e81995</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmake: transitive deps and remove deprecated LINK_*</title>
<updated>2016-09-18T06:56:26Z</updated>
<author>
<name>redfish</name>
<email>redfish@galactica.pw</email>
</author>
<published>2016-09-17T17:59:29Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e1c7af35d47c6f54628418f67128074c1bcd4858'/>
<id>urn:sha1:e1c7af35d47c6f54628418f67128074c1bcd4858</id>
<content type='text'>
Keep the immediate direct deps at the library that depends on them,
declare deps as PUBLIC so that targets that link against that library
get the library's deps as transitive deps.

Break dep cycle between blockchain_db &lt;-&gt; crytonote_core.
No code refactoring, just hide cycle from cmake so that
it doesn't complain (cycles are allowed only between
static libs, not shared libs).

This is in preparation for supproting BUILD_SHARED_LIBS cmake
built-in option for building internal libs as shared.
</content>
</entry>
<entry>
<title>daemonizer: posix: keep parent's working dir and umask</title>
<updated>2016-07-10T00:16:44Z</updated>
<author>
<name>redfish</name>
<email>redfish@galactica.pw</email>
</author>
<published>2016-07-10T00:09:56Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ce6b83128e343687d526479f1a308d838a38f02a'/>
<id>urn:sha1:ce6b83128e343687d526479f1a308d838a38f02a</id>
<content type='text'>
Keep the working directory (and umask) inherited from
the parent. Otherwise, it's impossible to control
the working directory of the daemon (from systemd, for
example).

Furthermoer, bitmonerod attempts to create logging directories and files
*in current working directory*. This fails due to permission denied and
generates a (caught, nonfatal) exception. Below is the strace with this
patch applied (so, no `chdir("/")`), showing successful opens at `log/`
relative path. Without this patch they fail (sorry, didn't save the
trace).

```
28911 getcwd("/.../bitmonero", 128) = 25
28911 stat64("/var/lib/bitmonero/.bitmonero", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
28911 stat64("/etc/bitmonerod.conf", {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
28911 open("/etc/bitmonerod.conf", O_RDONLY|O_LARGEFILE) = 3
28911 open("/var/log/bitmonero/bitmonero.log", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3
28911 stat64("log", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
28911 stat64("log/dbg", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
28911 open("log/dbg/main.log", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
```
The reasoning of chdir("/") in order to prevent the daemon from holding
a filesystem in busy state is not compelling at all: the choice of
working directory for the daemon is the user's business not the
daemon's.
</content>
</entry>
<entry>
<title>Revert "Print stack trace upon exceptions"</title>
<updated>2016-03-21T10:12:23Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-03-21T10:12:12Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f7301c3563e7ae19b8d7c65d8bc88f3c42eefc09'/>
<id>urn:sha1:f7301c3563e7ae19b8d7c65d8bc88f3c42eefc09</id>
<content type='text'>
Ain't nobody got time for link/cmake skullduggery.

This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
</content>
</entry>
<entry>
<title>Print stack trace upon exceptions</title>
<updated>2016-03-19T21:48:36Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2016-03-19T21:48:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=fff238ec94ac6d45fc18c315d7bc590ddfaad63d'/>
<id>urn:sha1:fff238ec94ac6d45fc18c315d7bc590ddfaad63d</id>
<content type='text'>
Useful for debugging users' logs
</content>
</entry>
</feed>
