New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bareos support: add missing directory /var/run/bareos in recovery system #1148
Conversation
@dl5rcw According to |
I am using Bareos obelix-dir 16.2.2 (01May16) compiled from source on all machines. |
@dl5rcw Indeed empty directories do require a |
I even found the explanation about empty directories and git at @gdha * !.gitignore which guarantees that the directory remains empty because Should I fix the empty .gitignore files? |
OK - it won't hurt ReaR ;-)
…On Tue, Jan 3, 2017 at 4:23 PM, Johannes Meixner ***@***.***> wrote:
I even found the explanation about empty directories and git at
http://stackoverflow.com/questions/115983/how-can-i-
add-an-empty-directory-to-a-git-repository
@gdha <https://github.com/gdha>
I see ReaR mostly has empty directories
with a .gitignore file that contains
*
!.gitignore
which guarantees that the directory remains empty because
this way git ignores all files except the .gitignore file
but
those .gitignore files are empty
usr/share/rear/skel/NBU/usr/openv/var/vnetd/.gitignore
usr/share/rear/skel/NSR/usr/lib/nsr/.gitignore
usr/share/rear/skel/default/run/lvm/.gitignore
usr/share/rear/skel/default/run/resolvconf/.gitignore
usr/share/rear/skel/default/run/systemd/journal/syslog/.gitignore
usr/share/rear/skel/default/run/udev/.gitignore
usr/share/rear/skel/default/usr/include/.gitignore
usr/share/rear/skel/default/usr/lib/udev/.gitignore
usr/share/rear/skel/default/var/lib/nfs/statd/.gitignore
usr/share/rear/skel/default/var/lock/lockdev/.gitignore
usr/share/rear/skel/default/var/lock/lvm/.gitignore
usr/share/rear/skel/default/var/run/systemd/generator/.gitignore
usr/share/rear/skel/default/var/run/systemd/journal/.gitignore
Should I fix the empty .gitignore files?
(The directories where they are are empty.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1148 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA2POZHNDYqM5GrG0YHILnfnujsxU3wtks5rOmfqgaJpZM4LZpsr>
.
|
we are using rear + bareos in our data center.
executing a test recovery revealed that bareos was requesting /var/run/bareos as a system's directory to exist. We've added it to the skel and it works now. We like to share this improvement.