Search found 116 matches

by dunwell
2016/03/25 23:01:38
Forum: CentOS 7 - Software Support
Topic: cups printing to Brother MFC-9840-CDW - Small font size
Replies: 1
Views: 1563

Re: cups printing to Brother MFC-9840-CDW - Small font size

I see that folks have looked at this but no suggestions so far. Perhaps I'm being too specific with this. I really don't understand how cups/command-line printing operates so I am having trouble figuring out what the problem is specifically with my Brother printer. Perhaps if someone can explain the...
by dunwell
2016/03/20 17:08:31
Forum: CentOS 7 - Software Support
Topic: cups printing to Brother MFC-9840-CDW - Small font size
Replies: 1
Views: 1563

cups printing to Brother MFC-9840-CDW - Small font size

I've run into an issue with command line printing with lp or lpr where the resultant printout is always very small print. It looks like about 6-8 point! The defalut printer was installed with the GUI tool and it works just fine printing from Firefox or some other applications. But any tool such as g...
by dunwell
2016/03/10 23:32:09
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

[Solved]Re: SELinux Error for root cron jobs

OK, I'm going to call this fixed and do a quick summary here of the solution. The initial problem was that I was seeing error messages in /var/log/cron and in my logwatch files of the form Mar 3 08:30:01 dunwellguitar3 crond[8463]: (root) NULL security context for user, but SELinux in permissive mod...
by dunwell
2016/03/10 21:38:27
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

I have been trying various things. First, I used my current Hello.sh program and modified it as you had suggested for the backup job. It now looks like > cat Hello.sh #!/bin/bash echo -n 'Started at: ' `date` >> /root/log echo "Hello" >> /root/log I then edited the /var/spool/cron/root job but heedi...
by dunwell
2016/03/09 15:34:12
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

I did a quickie bit to test. First I just made a super simple .sh file > cat Hello.sh #!/bin/bash echo "Hello" >> /root/log Then I modified the /var/spool/cron/root file to be 87 dunwellguitar3:/var/spool/cron > cat root 00,10,20,30,40,50 * * * * /usr/local/solar-web_monitor/cgi-bin/fronius_daily_lo...
by dunwell
2016/03/08 23:17:49
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

the autorelabel thing came from https://www.centos.org/docs/5/html/5.2/Deployment_Guide/sec-sel-fsrelabel.html I'm seeing that was for COS5 so maybe there is a difference. There will be a slight pause as I have to get taxes efiled but will try to get on this tomorrow in more detail. Since any cron j...
by dunwell
2016/03/08 16:29:45
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

Wow! Thanks for the lessons in script programming! Appreciated. Never claimed I was a guru ;) Yes, some of the cron jobs are perl scripts, three of them in fact. I chose the backup shell script because it was shorter. Note that, despite your really good tips on programming, I don't think that the sc...
by dunwell
2016/03/07 03:11:14
Forum: CentOS 7 - Software Support
Topic: What is a proper way to install Perl modules on CentOS 7?
Replies: 7
Views: 76768

Re: What is a proper way to install Perl modules on CentOS 7

Sometimes yum will not find what you want unless it is specified exactly, as with the version #, etc I often also use yum list all |grep ThingIWantHere That allows you to just put in text that is probably part of the name and let it locate the multitude of things that have the string in the name. Th...
by dunwell
2016/03/07 03:04:14
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

OK, adding one of the files that the cron job runs. Note that in an earlier message I mention that all the jobs in the the root cron list throw the error. There are three of them related to the taking/saving of solar data and a forth that executes a backup job to a USB mounted disk. I'm including th...
by dunwell
2016/03/05 16:04:29
Forum: CentOS 7 - Software Support
Topic: [Solved] SELinux Error for root cron jobs
Replies: 15
Views: 13074

Re: SELinux Error for root cron jobs

Thanks aks, the bit at the bottom of the FAQ is helpful too. I'll give it a whirl. and report back later. The bit that was puzzling to me was that there were not any actual failures or denials in the audit.log, only things that end with "success" since I'm in permissive mode. The only actual SEL err...