Search found 47 matches

by mevans336
2019/08/03 18:27:29
Forum: CentOS 7 - General Support
Topic: SystemD RuntimeDirectory Directive Not Working?
Replies: 2
Views: 2281

Re: SystemD RuntimeDirectory Directive Not Working?

TrevorH wrote:
2019/08/03 17:32:32
Use tmpfiles.d. I believe RuntimeDirectory= is not implemented in CentOS 7's version of systemd.
There we go. I knew services had to be creating their /run folders somehow - I see all the .conf files for them in /usr/lib/tmpfiles.d. Thanks Trevor.
by mevans336
2019/08/03 12:24:01
Forum: CentOS 7 - General Support
Topic: SystemD RuntimeDirectory Directive Not Working?
Replies: 2
Views: 2281

SystemD RuntimeDirectory Directive Not Working?

I'm trying to get a /run directory to be created if it doesn't exist for a daemon. I've added the RuntimeDirectory directive to the .service file, but it appears that option is ignored? mkdir doesn't work either because the user running the daemon doesn't have create permissions for /run. What is th...
by mevans336
2019/08/03 12:18:40
Forum: CentOS 7 - Software Support
Topic: RPM for qBittorrent 4.1.6 for CentOS 7 released
Replies: 17
Views: 11317

Re: RPM for qBittorrent 4.1.6 for CentOS 7 released

Please use yum to install it which automatically resolves all the dependencies. I did use yum install on a fresh build. Until you install SCL and enable it, yum reports the install is broken and prompts you to do a --skip-broken, etc. Also, the download is painfully slow, about 1Mbps. Probably beca...
by mevans336
2019/07/31 09:05:51
Forum: CentOS 7 - Software Support
Topic: RPM for qBittorrent 4.1.6 for CentOS 7 released
Replies: 17
Views: 11317

Re: RPM for qBittorrent 4.1.6 for CentOS 7 released

You have a dependency on "python33" which doesn't exist in any default repo. Error: Package: qbittorrent-run-4.1.6-1.el7.x86_64 (/qbittorrent-run-4.1.6-1.el7.x86_64) Requires: python33 Here is how to get python33 installed from the software collections repo: sudo yum install centos-release-scl scl-u...
by mevans336
2015/04/01 18:20:12
Forum: CentOS 7 - Networking Support
Topic: [RESOLVED] cifs mount issue on CO7, fine on CO6?
Replies: 2
Views: 3774

Re: [RESOLVED] cifs mount issue on CO7, fine on CO6?

Did you also copy /root/.mysharecreds from your C6 machine? I did. I initially mistyped the file name and mount complained, but once I fixed that everything seems to mount fine ... just no permissions. I have verified the creds are exactly the same between both The file has the following contents: ...
by mevans336
2015/04/01 18:01:41
Forum: CentOS 7 - Networking Support
Topic: [RESOLVED] cifs mount issue on CO7, fine on CO6?
Replies: 2
Views: 3774

[RESOLVED] cifs mount issue on CO7, fine on CO6?

We mount a cifs share that resides on a Windows 2012 R2 server from both a CentOS 6.5 box and a CentOS 7 box. The CentOS 7 mount is what I am trying to work on, the v6 mount has worked fine for months. I am using the following command in /etc/fstab, taken directly from my v6 installation: \\my.windo...
by mevans336
2014/12/28 16:46:18
Forum: CentOS 7 - General Support
Topic: SELinux: ramfs and/or tmpfs permission denied, error 13?
Replies: 3
Views: 2839

Re: SELinux: ramfs and/or tmpfs permission denied, error 13?

TrevorH wrote:Why not just mount it on, e.g /var/log/openvpn/?
I would like the logs gone upon reboot without the ability to use disk recovery software to recover them.
by mevans336
2014/12/27 05:03:48
Forum: CentOS 7 - General Support
Topic: SELinux: ramfs and/or tmpfs permission denied, error 13?
Replies: 3
Views: 2839

SELinux: ramfs and/or tmpfs permission denied, error 13?

I'm trying to create a small ramdisk to hold sensitive logfiles for my OpenVPN server. The OpenVPN is running as nobody:nobody. I'm mounting the folder with the following command: mount -t ramfs -o size=1024m ramfs /mnt/ramdisk chown nobody:nobody /mnt/ramdisk/ chmod 777 /mnt/ramdisk I understand th...
by mevans336
2014/12/21 21:53:24
Forum: CentOS 7 - General Support
Topic: Setting Limits on 7?
Replies: 2
Views: 1115

Re: Setting Limits on 7?

Those will work (if that's what you're trying to achive) - execpt the should be in /etc/security/limits.d/ so you don't overwrite the distribution limits (think of what happens on an upgrade). You could investigate and implement cgroups if you want absolute resource control. Awesome, I took your ad...
by mevans336
2014/12/19 16:38:17
Forum: CentOS 7 - General Support
Topic: Setting Limits on 7?
Replies: 2
Views: 1115

Setting Limits on 7?

On CentOS 6 we would increase several limits in limits.conf and sysctl.conf for our web app servers using the following lines: /etc/security/limits.conf @appserveruser soft nofile 65535 @appserveruser hard nofile 65535 /etc/sysctl.conf fs.file-max = 4194304 Are these same two tweaks sufficient for C...