Subdirectory of /var/run disappearing in CentOS 7 while runningFolder disappearing from /var/run upon reboot...
Second-rate spelling
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Equivalent to "source" in OpenBSD?
Can you benefit from a Hammer of Thunderbolts’s Strength increase by holding it with something else than your hands?
"Murder!" The knight said
Non-Italian European mafias in USA?
How to approximate rolls for potions of healing using only d6's?
What is the difference between ashamed and shamed?
How to count words in a line
Are small insurances worth it
What do the pedals on grand pianos do?
Must a tritone substitution use a dominant seventh chord?
Can you use a beast's innate abilities while polymorphed?
Do authors have to be politically correct in article-writing?
What is the wife of a henpecked husband called?
How can I handle a player who pre-plans arguments about my rulings on RAW?
A "strange" unit radio astronomy
Does music exist in Panem? And if so, what kinds of music?
CBP Reminds Travelers to Allow 72 Hours for ESTA. Why?
Where was Karl Mordo in Infinity War?
Why does the 31P{1H} NMR spectrum of cis-[Mo(CO)2(dppe)2] show two signals?
Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?
If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?
How can atoms be electrically neutral when there is a difference in the positions of the charges?
Subdirectory of /var/run disappearing in CentOS 7 while running
Folder disappearing from /var/run upon reboot with Ubuntu 12.04Are MySQL databases always stored in /var on CentOS? Any folders or files I create in /var/run/ get deleted when restarting the macCentOS 6.6 /var 100% but no big filesOne drive in Centos software raid 1 array keeps disappearingCentOS & moving /var to a new disk/partitionRunning a program in CentOS/var/run/postgresql missing after rebootRHEL/CentOS 7 run named-chroot on systemctl named invocation?Run rc.local only once Mongodb is running in CentOs 7Cannot create symlink from /var/tmp to /tmp. Cannot delete /var/tmp - CentOS 7
Occasionally (after some amount uptime which I haven't measured yet), my /var/run/projectname directory will disappear along with the /var/run/projectname/gunicorn.sock file.
Rebooting brings it back as I do have it configured in tmpfiles.d:
d /var/run/projectname 0775 207 root -
The supervisord services recreate the .sock file at reboot, which is a Django gunicorn socket that nginx uses to deploy the app.
/usr/lib/tmpfiles.d/tmp.conf doesn't include /var/run and I don't have a tmpwatch job in /etc/cron.daily either. /var/spool/cron is empty and /etc/cron.* doesn't have a relevant job either.
Any ideas of what could be wiping this ...or how to audit it?
Note: This is not a duplicate of Folder disappearing from /var/run upon reboot with Ubuntu 12.04 because that question complains about the files disappearing after a reboot. My problem is when the system is still running.
centos7 rhel7 var
add a comment |
Occasionally (after some amount uptime which I haven't measured yet), my /var/run/projectname directory will disappear along with the /var/run/projectname/gunicorn.sock file.
Rebooting brings it back as I do have it configured in tmpfiles.d:
d /var/run/projectname 0775 207 root -
The supervisord services recreate the .sock file at reboot, which is a Django gunicorn socket that nginx uses to deploy the app.
/usr/lib/tmpfiles.d/tmp.conf doesn't include /var/run and I don't have a tmpwatch job in /etc/cron.daily either. /var/spool/cron is empty and /etc/cron.* doesn't have a relevant job either.
Any ideas of what could be wiping this ...or how to audit it?
Note: This is not a duplicate of Folder disappearing from /var/run upon reboot with Ubuntu 12.04 because that question complains about the files disappearing after a reboot. My problem is when the system is still running.
centos7 rhel7 var
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago
add a comment |
Occasionally (after some amount uptime which I haven't measured yet), my /var/run/projectname directory will disappear along with the /var/run/projectname/gunicorn.sock file.
Rebooting brings it back as I do have it configured in tmpfiles.d:
d /var/run/projectname 0775 207 root -
The supervisord services recreate the .sock file at reboot, which is a Django gunicorn socket that nginx uses to deploy the app.
/usr/lib/tmpfiles.d/tmp.conf doesn't include /var/run and I don't have a tmpwatch job in /etc/cron.daily either. /var/spool/cron is empty and /etc/cron.* doesn't have a relevant job either.
Any ideas of what could be wiping this ...or how to audit it?
Note: This is not a duplicate of Folder disappearing from /var/run upon reboot with Ubuntu 12.04 because that question complains about the files disappearing after a reboot. My problem is when the system is still running.
centos7 rhel7 var
Occasionally (after some amount uptime which I haven't measured yet), my /var/run/projectname directory will disappear along with the /var/run/projectname/gunicorn.sock file.
Rebooting brings it back as I do have it configured in tmpfiles.d:
d /var/run/projectname 0775 207 root -
The supervisord services recreate the .sock file at reboot, which is a Django gunicorn socket that nginx uses to deploy the app.
/usr/lib/tmpfiles.d/tmp.conf doesn't include /var/run and I don't have a tmpwatch job in /etc/cron.daily either. /var/spool/cron is empty and /etc/cron.* doesn't have a relevant job either.
Any ideas of what could be wiping this ...or how to audit it?
Note: This is not a duplicate of Folder disappearing from /var/run upon reboot with Ubuntu 12.04 because that question complains about the files disappearing after a reboot. My problem is when the system is still running.
centos7 rhel7 var
centos7 rhel7 var
asked 5 hours ago
rrauenzarrauenza
333211
333211
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago
add a comment |
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956739%2fsubdirectory-of-var-run-disappearing-in-centos-7-while-running%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956739%2fsubdirectory-of-var-run-disappearing-in-centos-7-while-running%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Why are you using supervisord?
– Michael Hampton♦
5 hours ago
It's the standard for how we deploy apps via our ansible scripts.
– rrauenza
4 hours ago