Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Conversation

@tbcd
Copy link

@tbcd tbcd commented Mar 26, 2021

Pidfiles were not being truncated before written to, so if the pidfile already existed and the new pid had less digits than the previous pid, the resulting pid would be incorrect. This would not have been caught by the test most of the time.

This PR also changes the file creation mode from 0666 to the more standard 0644.

Fixes openethereum/openethereum/issues/336

@cla-bot-2021
Copy link

cla-bot-2021 bot commented May 11, 2021

User @tbcd, please sign the CLA here.

Copy link
Contributor

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@niklasad1 niklasad1 requested a review from seunlanlege May 11, 2021 13:35
@ordian
Copy link

ordian commented May 11, 2021

we should transfer this repo to openethereum as it's not maintained by parity anymore
cc @ddorgan @jomuel @rakita

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenEthereum process id stored in pid file has too many digits

3 participants