Bug 113655

Summary: AppArmor Add Profile Wizard "does not allow the creation of this profile
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Christian Boltz <suse-beta>
Component: AppArmorAssignee: Dominic W Reynolds <dreynolds>
Status: RESOLVED FIXED QA Contact: Keiran Haggerty <khaggerty>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: Beta 4   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screen shot
y2logs

Description Christian Boltz 2005-08-28 16:24:00 UTC
The AppArmor "Add profile wizard" (in YaST) shows a message "... does not 
allow the creation of this profile" 
 
I tested with profile name "acroread" and kmail.
Comment 1 Christian Boltz 2005-08-28 16:25:55 UTC
Created attachment 47904 [details]
screen shot
Comment 2 Christian Boltz 2005-08-28 16:28:44 UTC
Created attachment 47906 [details]
y2logs
Comment 3 Dominic W Reynolds 2005-08-30 05:42:48 UTC
The AppArmor version shipped with SUSE Linux 10 targets a specific set of
applications that are allowed to be profiled. 

The acroread profile will be shipped with beta 4 and further refinement with the
"Add AppArmor Profile" wizard will be supported.

The kmail application is not planned to be supported for profiling in SUSE Linux 10.

The namespace of allowed programs that can be profiled is as follows (note may
be subject to modification prior to the general release):

/bin/netstat
/bin/ping
/bin/traceroute
/lib64/ld-**
/lib/ld-**
/opt/i386-linux-uclibc/lib/ld-uClibc**
/opt/powerpc-linux-uclibc/lib/ld-uClibc**
/opt/gnome/lib/bonobo/bonobo-activation-server
/opt/gnome/lib/evolution-data-server-1.2/evolution-data-server-**
/opt/gnome/bin/evolution
/opt/gnome/bin/evolution-2.4
/opt/gnome/bin/gaim
/opt/gnome/bin/gaim-remote
/opt/gnome/lib/GConf/2/gconfd-2
/opt/MozillaFirefox/bin/add-plugins.sh
/opt/MozillaFirefox/bin/firefox.sh
/opt/MozillaFirefox/bin/rebuild-databases.sh
/opt/MozillaFirefox/lib/firefox-bin
/opt/MozillaFirefox/lib/mozilla-xremote-client
/sbin/klogd
/sbin/portmap
/sbin/rcportmap
/sbin/syslogd
/usr/bin/apropos
/usr/bin/clusterdb
/usr/bin/createdb
/usr/bin/createlang
/usr/bin/createuser
/usr/bin/dropdb
/usr/bin/droplang
/usr/bin/dropuser
/usr/bin/initdb
/usr/bin/ipcclean
/usr/bin/isamchk
/usr/bin/isamlog
/usr/bin/ldd
/usr/bin/man
/usr/bin/myisamchk
/usr/bin/myisam_ftdump
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/my_print_defaults
/usr/bin/mysqlbug
/usr/bin/mysql_convert_table_format
/usr/bin/mysql_create_system_tables
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldumpslow
/usr/bin/mysql_explain_log
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_fix_privilege_tables
/usr/bin/mysqlhotcopy
/usr/bin/mysql_install_db
/usr/bin/mysql_secure_installation
/usr/bin/mysql_setpermission
/usr/bin/mysqltest
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_zap
/usr/bin/ntlm_auth
/usr/bin/pack_isam
/usr/bin/pg_controldata
/usr/bin/pg_ctl
/usr/bin/pg_dump
/usr/bin/pg_dumpall
/usr/bin/pg_resetxlog
/usr/bin/pg_restore
/usr/bin/postgres
/usr/bin/postmaster
/usr/bin/procmail
/usr/bin/psql
/usr/bin/resolveip
/usr/bin/resolve_stack_dump
/usr/bin/smbstatus
/usr/bin/tdbbackup
/usr/bin/tdbdump
/usr/bin/tdbtool
/usr/bin/vacuumdb
/usr/bin/wbinfo
/usr/lib/mailman/bin/**
/usr/lib/mailman/cgi-bin/**
/usr/lib/man-db/man
/usr/lib/postfix/bounce
/usr/lib/postfix/cleanup
/usr/lib/postfix/flush
/usr/lib/postfix/local
/usr/lib/postfix/master
/usr/lib/postfix/nqmgr
/usr/lib/postfix/pickup
/usr/lib/postfix/proxymap
/usr/lib/postfix/qmgr
/usr/lib/postfix/scache
/usr/lib/postfix/showq
/usr/lib/postfix/smtp
/usr/lib/postfix/smtpd
/usr/lib/postfix/tlsmgr
/usr/lib/postfix/trivial-rewrite
/usr/lib/sendmail.d/bin/mailman
/usr/sbin/httpd2-prefork
/usr/sbin/identd
/usr/sbin/in.identd
/usr/sbin/mysqld
/usr/sbin/nmbd
/usr/sbin/nscd
/usr/sbin/ntpd
/usr/sbin/pmap_dump
/usr/sbin/pmap_set
/usr/sbin/postalias
/usr/sbin/postdrop
/usr/sbin/postmap
/usr/sbin/postqueue
/usr/sbin/rcmailman
/usr/sbin/rcmysql
/usr/sbin/rcnmb
/usr/sbin/rcpostgresql
/usr/sbin/rcsmb
/usr/sbin/rcypbind
/usr/sbin/sendmail
/usr/sbin/smbd
/usr/sbin/squid
/usr/sbin/sshd
/usr/sbin/swat
/usr/sbin/traceroute
/usr/sbin/ypbind
/usr/X11R6/bin/acroread
/usr/X11R6/bin/ethereal
/usr/bin/opera
/usr/lib/RealPlayer10/realplay.bin




Comment 4 Dominic W Reynolds 2005-08-30 05:43:48 UTC
Fixed acroread for beta4
Comment 5 Christian Boltz 2005-08-30 20:26:06 UTC
> The AppArmor version shipped with SUSE Linux 10 targets a specific    
> set of applications that are allowed to be profiled.    
  
If only a specific set of applications is supported, I'd recommend to   
list these in the dialog (as help text or in a dropdown instead of the   
text input field).  
  
Otherwise, a user might try with two or three applications and, if he   
doesn't have the luck to find one of your list, he'll say "hey,   
AppArmor must be broken crap!"...  
 
(BTW: I don't think adding the list of supported applications to README is 
enough - people don't like to read documentation...)