Add support for contemporary OpenSUSE Leap Linux

This commit is contained in:
iliajie 2022-11-23 22:30:51 +02:00
parent c4a2bb6cd7
commit f4c367f2ae
No known key found for this signature in database
GPG Key ID: 121E166DD9C821AB
46 changed files with 568 additions and 0 deletions

View File

@ -0,0 +1,23 @@
show_list=0
httpd_dir=/srv/www
httpd_conf=/etc/apache2/httpd.conf
mime_types=/etc/apache2/mime.types
httpd_path=/usr/sbin/httpd2-prefork
start_cmd=systemctl start apache2
stop_cmd=systemctl stop apache2
apply_cmd=systemctl restart apache2
show_order=0
max_servers=100
test_config=1
test_manual=0
test_always=0
test_apachectl=1
apachectl_path=/usr/sbin/apache2ctl
virt_file=/etc/apache2/vhosts.d
pid_file=/var/run/httpd2.pid
defines_file=/etc/sysconfig/apache2
defines_name=APACHE_SERVER_FLAGS
auto_mods=1
show_names=0
allow_virtualmin=0
format_config=1

View File

@ -0,0 +1,4 @@
at_style=linux
at_dir=/var/spool/atjobs
allow_file=/etc/at.allow
deny_file=/etc/at.deny

View File

@ -0,0 +1,50 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
start_cmd=systemctl start named
restart_cmd=systemctl restart named
stop_cmd=systemctl stop named
pid_file=/var/run/named/named.pid
chroot=
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=1
relative_paths=0
rndc_cmd=rndc
auto_chroot=
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
slave_dir=/var/lib/named/slave
master_dir=/var/lib/named/master
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
force_random=0
spf_record=0
dnssec_info=1

View File

@ -0,0 +1,9 @@
cfrun_hosts=
cfd_conf=
cfengine_conf=
cfd=/usr/sbin/cfd
cfengine_dir=/etc/cfengine
cfrun=/usr/sbin/cfrun
cfengine=/usr/sbin/cfengine
start_cmd=systemctl start cfengine
stop_cmd=systemctl stop cfengine

View File

@ -0,0 +1,10 @@
find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }'
path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
ld_env=LD_LIBRARY_PATH
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
by_view=0
tempdelete_days=7

View File

@ -0,0 +1,24 @@
vixie_cron=1
cron_deny_all=2
system_crontab=/etc/crontab
cron_allow_file=/var/spool/cron/allow
cron_get_command=crontab -u USER -l
cron_user_get_command=crontab -l
cron_delete_command=crontab -u USER -r
cron_user_delete_command=crontab -r
cron_edit_command=crontab -u USER -e
cron_user_edit_command=crontab -e
cron_dir=/var/spool/cron/tabs
cron_deny_file=/var/spool/cron/deny
cron_input=1
cronfiles_dir=/etc/cron.d
max_len=80
show_run=0
show_time=0
match_mode=0
match_user=1
kill_subs=0
show_comment=0
hourly_only=0
max_jobs=100
show_next=0

View File

@ -0,0 +1,17 @@
start_cmd=systemctl start dhcpd
stop_cmd=systemctl stop dhcpd
restart_cmd=systemctl restart dhcpd
dhcpd_conf=/etc/dhcpd.conf
pid_file=/var/lib/dhcp/var/run/dhcpd.pid
dhcpd_path=/usr/sbin/dhcpd
lease_file=/var/lib/dhcp/db/dhcpd.leases
lease_sort=0
dhcpd_nocols=5
lease_tz=0
interfaces_type=suse
show_ip=0
show_mac=0
group_name=0
display_max=100
desc_name=0
lease_vendor=0

View File

@ -0,0 +1,11 @@
soa_style=1
show_list=0
nslookup_pathname=nslookup
named_pid_file=/var/run/named.pid
named_pathname=/usr/sbin/named
ping_pathname=ping -c 1
named_boot_file=/etc/named.boot
records_order=0
updserial_def=0
updserial_on=1
updserial_man=1

View File

@ -0,0 +1,4 @@
dovecot=/usr/sbin/dovecot
dovecot_config=/etc/dovecot/dovecot.conf
init_script=dovecot
pid_file=/var/run/dovecot/master.pid

View File

@ -0,0 +1,4 @@
restart_command=systemctl restart nfsserver
exports_file=/etc/exports
nfs_server=rpc.nfsd
apply_cmd=exportfs -r

View File

@ -0,0 +1,3 @@
restart_command=systemctl restart nfsserver
exports_file=/etc/exports
apply_cmd=exportfs -r

View File

@ -0,0 +1,6 @@
config_file=
fetchmail_path=fetchmail
daemon_user=root
pid_file=/var/run/fetchmail.pid
view_mode=0
max_users=400

View File

@ -0,0 +1,6 @@
frox=/usr/sbin/frox
frox_conf=/etc/frox.conf
alt_frox_conf=/usr/share/doc/packages/frox-0.7.9/frox.conf
start_cmd=systemctl start frox
stop_cmd=systemctl stop frox
apply_cmd=systemctl reload frox

View File

@ -0,0 +1,16 @@
show_empty=0
services_file=/etc/services
extended_inetd=1
restart_command=killall -HUP inetd
rpc_file=/etc/rpc
protocols_file=/etc/protocols
tcpd_path=/usr/sbin/tcpd
rpc_inetd=1
inetd_conf_file=/etc/inetd.conf
rpc_protocols=tcp udp
allow_file=/etc/hosts.allow
deny_file=/etc/hosts.deny
sort_mode=0
ipv6=0
qm_mode=0
display_max=100

View File

@ -0,0 +1,14 @@
init_base=/etc/init.d
init_dir=/etc/init.d
reboot_command=shutdown -r now
shutdown_command=shutdown -h now
order_digits=2
inittab_id=id
expert=0
desc=1
status_check=0
init_info=1
order=0
sort_mode=0
boot_levels=2 3 5
inittab_extra=boot

View File

@ -0,0 +1,8 @@
file=/etc/ipsec.conf
secrets=/etc/ipsec.secrets
ipsec=/usr/sbin/ipsec
policies_dir=/etc/ipsec.d/policies
start_cmd=systemctl start ipsec
stop_cmd=systemctl stop ipsec
restart_cmd=systemctl restart ipsec
logfile=/var/log/messages

View File

@ -0,0 +1,6 @@
config_file=/etc/iscsi/iscsid.conf
initiator_file=/etc/iscsi/initiatorname.iscsi
ifaces_dir=/var/lib/iscsi/ifaces
iscsiadm=/sbin/iscsiadm
iscsiiname=/sbin/iscsi-iname
init_name=iscsid

View File

@ -0,0 +1,7 @@
pid_file= /var/run/ietd.pid
ietadm=ietadm
config_file=/etc/ietd.conf
init_name=iscsitarget
opts_file=/etc/sysconfig/SuSEfirewall2.d/services/iscsitarget
targets_file=/etc/targets.allow
initiators_file=/etc/initiators.allow

View File

@ -0,0 +1,6 @@
jabber_config=/etc/jabber.xml
jabber_dir=/var/lib/jabber
start_cmd=systemctl start jabberd
stop_cmd=systemctl stop jabberd
jabber_daemon=/usr/sbin/jabberd
jabber_spool=/var/spool/jabber

View File

@ -0,0 +1,10 @@
config_file=/etc/openldap/slapd.d
schema_dir=/etc/openldap/schema
slapd=/usr/lib/openldap/slapd
ldap_user=ldap
browse_max=100
start_cmd=systemctl start ldap
stop_cmd=systemctl stop ldap
apply_cmd=systemctl restart ldap
init_name=ldap
attr_count=6

View File

@ -0,0 +1,23 @@
auth_ldap=/etc/openldap/ldap.conf
imap_login=cyrus
samba_class=sambaAccount
imap_class=SuSEeMailObject
imap_folders=old public sent-mail
md5=0
given=0
slappasswd=slappasswd
samba_def=0
imap_def=0
multi_fields=0
mailfmt=0
shells=fixed,ldap,passwd,shells
secmode=0
samba_gclass=sambaGroup
alias_same=0
given_class=inetOrgPerson
person=1
given_order=0
imap_foldersep=.
ldap_tls=0
membox=0
gecos=1

View File

@ -0,0 +1,17 @@
iface_perms=755
printcap_file=/etc/printcap
gs_lib=
iface_arg=
gs_path=gs
spool_dir=/var/spool/lpd
gs_fontpath=
smbclient_path=smbclient
print_style=cups
driver_style=cups
show_status=0
sort_mode=0
display_mode=0
start_cmd=systemctl start cups
stop_cmd=systemctl stop cups
model_path=/usr/share/cups/model
show_jobs=0

View File

@ -0,0 +1,6 @@
majordomo_cf=/etc/majordomo.cf
program_dir=/usr/lib/majordomo
dynamic=0
sort_mode=0
perms=0

View File

@ -0,0 +1,10 @@
search_cmd=man -k PAGE
man_dir=/usr/share/man
man_cmd_sect=man SECTION PAGE
man_cmd=man PAGE
list_cmd_sect=man -w SECTION PAGE
list_cmd=man -w PAGE
man2html_path=man2html
doc_dir=/usr/share/doc/packages
kernel_dir=/usr/src/linux/Documentation
kde_dir=/opt/kde3/share/doc/HTML/en

View File

@ -0,0 +1,9 @@
long_fstypes=1
fstab_file=/etc/fstab
autofs_file=/etc/auto.master
smbclient_path=smbclient
nmblookup_path=nmblookup
show_used=1
nfs_check=1
sysinfo=1
sort_mode=2

View File

@ -0,0 +1,22 @@
start_cmd=systemctl start mysql
stop_cmd=systemctl stop mysql
mysql=/usr/bin/mysql
mysqldump=/usr/bin/mysqldump
mysqlimport=/usr/bin/mysqlimport
mysql_libs=
mysqladmin=/usr/bin/mysqladmin
mysqlshow=/usr/bin/mysqlshow
perpage=25
style=1
add_mode=1
nodbi=0
access=*: *
blob_mode=0
date_subs=0
passwd_mode=0
mysql_data=/var/lib/mysql
max_dbs=50
my_cnf=/etc/my.cnf
max_text=1000
nopwd=0
webmin_subs=0

View File

@ -0,0 +1,5 @@
client_conf=/etc/yp.conf
nsswitch_conf=/etc/nsswitch.conf
securenets=/var/yp/securenets
max_size=100
manual_build=0

View File

@ -0,0 +1,7 @@
slpd_conf=/etc/slp.conf
slpd_reg=/etc/slp.reg
slpd_log=/var/log/slpd.log
slpd_pid=/var/run/slpd.pid
start_cmd=/etc/rc.d/init.d/slpd start
stop_cmd=/etc/rc.d/init.d/slpd stop
slpd=/usr/sbin/slpd

View File

@ -183,6 +183,9 @@ SuSE SLES Linux $1 suse-linux sprintf("%.1f", $1) $etc_issue =~ /SuSE\s+SLES-(
# openSUSE Linux Tumbleweed
openSUSE Linux Tumbleweed $1 suse-linux $1 $etc_issue =~ /openSUSE\s+Tumbleweed\s+(\S+)\s/i
# openSUSE Linux (in 2006 with version 10.2, the SUSE Linux distribution was officially renamed to openSUSE)
openSUSE Linux $1 suse-linux $1 `cat /etc/os-release 2>/dev/null` =~ /openSUSE\s+Leap\s+(1[\d\.]+)/
# SuSE Linux
SuSE Linux $1 suse-linux $1 `cat /etc/SuSE-release 2>/dev/null` =~ /([0-9\.]+)/ || `cat /etc/os-release 2>/dev/null` =~ /openSUSE\s+Leap\s+([\d\.]+)/ || $etc_issue =~ /SuSE\s+Linux\s+(\S+)\s/i || `cat /etc/SUSE-brand 2>/dev/null` =~ /VERSION\s*=\s(\S+)/

View File

@ -0,0 +1,4 @@
lib_dirs=/lib/security
ignore=README .*\.rpmsave
pam_dir=/etc/pam.d
mod_equiv=pam_unix_acct.so=pam_unix.so pam_unix_auth.so=pam_unix.so pam_unix_passwd.so=pam_unix.so pam_unix_session.so=pam_unix.so pam_unix_sess.so=pam_unix.so pam_unix.so=pam_unix.so

View File

@ -0,0 +1,8 @@
pap_file=/etc/ppp/pap-secrets
encrypt_pass=0
ppp_options=/etc/ppp/options
login_config=/etc/mgetty+sendfax/login.config
dialin_config=/etc/mgetty+sendfax/dialin.config
pppd=pppd
mgetty=mgetty
serials=/dev/ttyS[0-9]*

View File

@ -0,0 +1,25 @@
hba_conf=/var/lib/pgsql/data/pg_hba.conf
psql=/usr/bin/psql
start_cmd=systemctl start postgresql
basedb=template1
perpage=25
plib=
pass=
login=postgres
stop_cmd=systemctl stop postgresql
pid_file=/var/run/postmaster.pid
nodbi=0
setup_cmd=systemctl start postgresql
dump_cmd=/usr/bin/pg_dump
rstr_cmd=/usr/bin/pg_restore
sameunix=1
access=*: *
blob_mode=0
add_mode=1
date_subs=0
style=0
max_dbs=50
simple_sched=0
access_own=0
max_text=1000
webmin_subs=0

View File

@ -0,0 +1,8 @@
pptpd=pptpd
file=/etc/pptpd.conf
pid_file=/var/run/pptpd.pid
pap_file=/etc/ppp/chap-secrets
ppp_options=/etc/ppp/options
start_cmd=systemctl start pptpd
stop_cmd=systemctl stop pptpd
log_file=/var/log/messages

View File

@ -0,0 +1,9 @@
proftpd_path=/usr/sbin/proftpd
proftpd_conf=/etc/proftpd.conf
pid_file=/var/run/proftpd.pid
start_cmd=systemctl start proftpd
stop_cmd=systemctl stop proftpd
ftpusers=/etc/ftpusers
test_config=1
test_always=0
test_manual=0

View File

@ -0,0 +1,17 @@
list_printers_command=lpc status | grep "[A-z0-9]:" | sed -e 's/://g'
smb_passwd=/etc/samba/smbpasswd
dont_convert=-499
samba_password_program=/usr/bin/smbpasswd
samba_status_program=/usr/bin/smbstatus
samba_server=/usr/sbin/smbd
name_server=/usr/sbin/nmbd
smb_conf=/etc/samba/smb.conf
text_lists=0
run_from_inetd=0
swat_path=/usr/sbin/swat
sort_mode=0
start_cmd=systemctl start cifs
stop_cmd=systemctl stop cifs
smbgroupedit=/usr/bin/smbgroupedit
pdbedit=/usr/bin/pdbedit
net=/usr/bin/net

View File

@ -0,0 +1,33 @@
sendmail_cf=/etc/sendmail.cf
sendmail_pid=/var/run/sendmail.pid
makemap_path=makemap
sendmail_command=systemctl start sendmail
sendmail_stop_command=systemctl stop sendmail
sendmail_path=/usr/lib/sendmail
mail_dir=/var/spool/mail
perpage=20
sort_mode=0
wrap_width=80
order_mail=0
smrsh_dir=/etc/smrsh
track_read=0
show_to=0
max_records=200
top_buttons=1
mail_file=mbox
sendmail_features=/usr/share/sendmail
sendmail_mc=/etc/mail/linux.mc
mail_style=0
mailq_show=Date,From,To,Size,Status
index_min=1000000
fwd_mode=0
mailq_sort=0
mailq_count=0
delete_warn=1
mailq_sort=0
columns=2
show_cmts=0
prefix_cmts=0
mail_type=0
delete_confirm=1

View File

@ -0,0 +1,12 @@
portsentry=/usr/sbin/portsentry
portsentry_config=/etc/portsentry/portsentry.conf
portsentry_umode=udp
portsentry_start=/etc/rc.d/init.d/portsentry start
portsentry_stop=/etc/rc.d/init.d/portsentry stop
portsentry_pid=
portsentry_tmode=tcp
hostsentry=/usr/lib/hostsentry/hostsentry.py
hostsentry_config=/etc/hostsentry/hostsentry.conf
hostsentry_start=/etc/rc.d/init.d/hostsentry start
hostsentry_stop=/etc/rc.d/init.d/hostsentry stop
logcheck=/usr/bin/logcheck.sh

View File

@ -0,0 +1,2 @@
package_system=rpm
apt_mode=0

View File

@ -0,0 +1,20 @@
log_dir=/var/log/squid
squid_path=squid
cache_dir=/var/cache/squid
squid_conf=/etc/squid/squid.conf
pid_file=/var/run/squid.pid /run/squid/squid.pid
cachemgr_path=/usr/share/doc/packages/squid/scripts/cachemgr.cgi
calamaris=calamaris
cal_max=50000
cal_args=-aw
crypt_conf=0
sort_conf=0
sync_create=0
sync_delete=0
squid_start=systemctl start squid
squid_stop=systemctl stop squid
sync_modify=1
cal_fmt=w
cal_all=1
restart_pos=0
squidclient=squidclient

View File

@ -0,0 +1,11 @@
sshd_path=/usr/sbin/sshd
sshd_config=/etc/ssh/sshd_config
client_config=/etc/ssh/ssh_config
pid_file=/var/run/sshd.init.pid
start_cmd=systemctl start sshd
stop_cmd=systemctl stop sshd
keygen_path=/usr/bin/ssh-keygen
sync_create=0
sync_auth=1
sync_pass=0
sync_gnupg=0

View File

@ -0,0 +1 @@
stunnel_path=/usr/sbin/stunnel

View File

@ -0,0 +1,5 @@
lines=100
compressed=1
syslogng_conf=/etc/syslog-ng/syslog-ng.conf
syslogng_cmd=/sbin/syslog-ng
pid_file=/var/run/syslog-ng.pid

View File

@ -0,0 +1,17 @@
pri_all=1
syslogd=/sbin/rsyslogd
m4_conf=0
syslog_conf=/etc/rsyslog.conf
pri_dir=1
pid_file=/var/run/rsyslogd.pid
facilities=auth authpriv cron daemon kern lpr mail mark news syslog user uucp local0 local1 local2 local3 local4 local5 local6 local7
m4_path=
sync=1
pipe=1
tags=0
lines=100
socket=0
start_cmd=systemctl start syslog
compressed=1
others=1
reverse=0

View File

@ -0,0 +1,44 @@
homedir_perms=0750
display_max=400
user_files=/etc/skel
passwd_file=/etc/passwd
post_command=
group_file=/etc/group
shadow_file=/etc/shadow
gshadow_file=/etc/gshadow
base_uid=1000
base_gid=1000
lock_string=*
empty_mode=0
sort_mode=0
new_user_group=0
skip_md5=0
display_mode=1
passwd_stars=0
delete_only=0
from_files=0
alias_check=0
home_style=0
random_password=0
extra_real=0
passwd_dict=0
passwd_same=0
email_type=0
home_base=/home
new_user_gid=0
delete_root=0
md5=1
default_group=users
uid_mode=1
gid_mode=1
gid_calc=0
uid_calc=0
default_other=1
shells=fixed,passwd,shells
secmode=0
last_show=0
nscd_restart=/etc/rc.d/nscd restart
config-aix
passwd_progmode=0
membox=0
selinux_con=user_u:object_r:user_home_dir_t

View File

@ -0,0 +1,8 @@
ftpgroups=/etc/ftpgroups
ftpd_path=/usr/sbin/wu.ftpd
ftphosts=/etc/ftphosts
ftpconversions=/etc/ftpconversions
pid_file=/var/run/ftpd.pid
ftpusers=/etc/ftpusers
ftpaccess=/etc/ftpaccess
log_file=/var/log/xferlog

View File

@ -0,0 +1,4 @@
xinetd_conf=/etc/xinetd.conf
protocols_file=/etc/protocols
start_cmd=systemctl start xinetd
lookup_servs=1