Skip to contentSkip to conversation

daemon_domain does not work on backup_t ?

DISCUSSION shintarou_fujiwara 1 participant 1 message Oct 24, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi, again from Japan.

I had been working on cron job to backup files daily.
I added some lines on backup_t and
backup_t works fairly good.
One day, I somehow changed original backup_t line from domain to daemon_domain, Like this...
#######################
#type backup_t, domain, privlog, auth;
#type backup_exec_t, file_type, sysadmfile, exec_type; daemon_domain(backup,`,privlog,auth')
###########################################
and I found it didn't work properly.
I got these lines by mail ("/etc/cron.backup/backup" is the backup script).

/usr/bin/run-parts: /etc/cron.backup/backup: /bin/sh: bad interpreter: Permission denied

Question:

Why does it not work on daemon_domain and work on domain?

Thank you for your attention.

shintarou_fujiwara

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.