Project

General

Profile

minio-debug.txt

Michael Reynolds, 07/05/2018 07:54 AM

 
1
** Added to /usr/local/etc/rc.d/minio
2
#!/bin/sh
3
set -x
4

    
5
** Started the minio service from the CLI
6

    
7
[root@freenas ~]# /usr/local/etc/rc.d/minio start
8

    
9
** Here's the output
10

    
11
+ . /etc/rc.subr
12
+ : 12421
13
+ export RC_PID
14
+ [ -n '' ]
15
+ _rc_subr_loaded=YES
16
+ SYSCTL=/sbin/sysctl
17
+ SYSCTL_N='/sbin/sysctl -n'
18
+ SYSCTL_W=/sbin/sysctl
19
+ PROTECT=/usr/bin/protect
20
+ ID=/usr/bin/id
21
+ IDCMD='if [ -x /usr/bin/id ]; then /usr/bin/id -un; fi'
22
+ PS='/bin/ps -ww'
23
+ JID=0
24
+ _rc_namevarlist='program chroot chdir env flags fib nice user group groups prepend'
25
+ kenv -q rc.debug
26
+ name=minio
27
+ rcvar=minio_enable
28
+ load_rc_config minio
29
+ local _name _rcvar_val _var _defval _v _msg _new _d
30
+ _name=minio
31
+ false
32
+ [ -r /etc/defaults/rc.conf ]
33
+ debug 'Sourcing /etc/defaults/rc.conf'
34
+ . /etc/defaults/rc.conf
35
+ rc_info=NO
36
+ rc_startmsgs=YES
37
+ rcshutdown_timeout=90
38
+ early_late_divider=FILESYSTEMS
39
+ always_force_depends=NO
40
+ apm_enable=NO
41
+ apmd_enable=NO
42
+ apmd_flags=''
43
+ ddb_enable=NO
44
+ ddb_config=/etc/ddb.conf
45
+ devd_enable=YES
46
+ devd_flags=''
47
+ kldxref_enable=NO
48
+ kldxref_clobber=NO
49
+ kldxref_module_path=''
50
+ powerd_enable=NO
51
+ powerd_flags=''
52
+ tmpmfs=AUTO
53
+ tmpsize=20m
54
+ tmpmfs_flags=-S
55
+ varmfs=AUTO
56
+ varsize=32m
57
+ varmfs_flags=-S
58
+ mfs_type=auto
59
+ populate_var=AUTO
60
+ cleanvar_enable=YES
61
+ local_startup=/usr/local/etc/rc.d
62
+ script_name_sep=' '
63
+ rc_conf_files='/etc/rc.conf /etc/rc.conf.local'
64
+ zfs_enable=NO
65
+ zfsd_enable=NO
66
+ gptboot_enable=YES
67
+ gbde_autoattach_all=NO
68
+ gbde_devices=NO
69
+ gbde_attach_attempts=3
70
+ gbde_lockdir=/etc
71
+ geli_devices=''
72
+ geli_tries=''
73
+ geli_default_flags=''
74
+ geli_autodetach=YES
75
+ root_rw_mount=YES
76
+ root_hold_delay=30
77
+ fsck_y_enable=NO
78
+ fsck_y_flags='-T ffs:-R -T ufs:-R'
79
+ background_fsck=YES
80
+ background_fsck_delay=60
81
+ netfs_types='nfs:NFS smbfs:SMB'
82
+ extra_netfs_types=NO
83
+ hostname=''
84
+ hostid_enable=YES
85
+ hostid_file=/etc/hostid
86
+ nisdomainname=NO
87
+ dhclient_program=/sbin/dhclient
88
+ dhclient_flags=''
89
+ background_dhclient=NO
90
+ synchronous_dhclient=NO
91
+ defaultroute_delay=30
92
+ defaultroute_carrier_delay=5
93
+ netif_enable=YES
94
+ netif_ipexpand_max=2048
95
+ wpa_supplicant_program=/usr/sbin/wpa_supplicant
96
+ wpa_supplicant_flags=-s
97
+ wpa_supplicant_conf_file=/etc/wpa_supplicant.conf
98
+ firewall_enable=NO
99
+ firewall_script=/etc/rc.firewall
100
+ firewall_type=UNKNOWN
101
+ firewall_quiet=NO
102
+ firewall_logging=NO
103
+ firewall_logif=NO
104
+ firewall_flags=''
105
+ firewall_coscripts=''
106
+ firewall_client_net=192.0.2.0/24
107
+ firewall_simple_iif=ed1
108
+ firewall_simple_inet=192.0.2.16/28
109
+ firewall_simple_oif=ed0
110
+ firewall_simple_onet=192.0.2.0/28
111
+ firewall_myservices=''
112
+ firewall_allowservices=''
113
+ firewall_trusted=''
114
+ firewall_logdeny=NO
115
+ firewall_nologports='135-139,445 1026,1027 1433,1434'
116
+ firewall_nat_enable=NO
117
+ firewall_nat_interface=''
118
+ firewall_nat_flags=''
119
+ dummynet_enable=NO
120
+ ipfw_netflow_enable=NO
121
+ ip_portrange_first=NO
122
+ ip_portrange_last=NO
123
+ ike_enable=NO
124
+ ike_program=/usr/local/sbin/isakmpd
125
+ ike_flags=''
126
+ ipsec_enable=NO
127
+ ipsec_file=/etc/ipsec.conf
128
+ natd_program=/sbin/natd
129
+ natd_enable=NO
130
+ natd_interface=''
131
+ natd_flags=''
132
+ ipfilter_enable=NO
133
+ ipfilter_program=/sbin/ipf
134
+ ipfilter_rules=/etc/ipf.rules
135
+ ipfilter_flags=''
136
+ ipnat_enable=NO
137
+ ipnat_program=/sbin/ipnat
138
+ ipnat_rules=/etc/ipnat.rules
139
+ ipnat_flags=''
140
+ ipmon_enable=NO
141
+ ipmon_program=/sbin/ipmon
142
+ ipmon_flags=-Ds
143
+ ipfs_enable=NO
144
+ ipfs_program=/sbin/ipfs
145
+ ipfs_flags=''
146
+ pf_enable=NO
147
+ pf_rules=/etc/pf.conf
148
+ pf_program=/sbin/pfctl
149
+ pf_flags=''
150
+ pflog_enable=NO
151
+ pflog_logfile=/var/log/pflog
152
+ pflog_program=/sbin/pflogd
153
+ pflog_flags=''
154
+ ftpproxy_enable=NO
155
+ ftpproxy_flags=''
156
+ pfsync_enable=NO
157
+ pfsync_syncdev=''
158
+ pfsync_syncpeer=''
159
+ pfsync_ifconfig=''
160
+ tcp_extensions=YES
161
+ log_in_vain=0
162
+ tcp_keepalive=YES
163
+ tcp_drop_synfin=NO
164
+ icmp_drop_redirect=NO
165
+ icmp_log_redirect=NO
166
+ network_interfaces=auto
167
+ cloned_interfaces=''
168
+ sppp_interfaces=''
169
+ ppp_enable=NO
170
+ ppp_program=/usr/sbin/ppp
171
+ ppp_mode=auto
172
+ ppp_nat=YES
173
+ ppp_profile=papchap
174
+ ppp_user=root
175
+ hostapd_enable=NO
176
+ syslogd_enable=YES
177
+ syslogd_program=/usr/sbin/syslogd
178
+ syslogd_flags=-s
179
+ syslogd_oomprotect=YES
180
+ altlog_proglist=''
181
+ inetd_enable=NO
182
+ inetd_program=/usr/sbin/inetd
183
+ inetd_flags='-wW -C 60'
184
+ iscsid_enable=NO
185
+ iscsictl_enable=NO
186
+ iscsictl_flags=-Aa
187
+ hastd_enable=NO
188
+ hastd_program=/sbin/hastd
189
+ hastd_flags=''
190
+ ctld_enable=NO
191
+ local_unbound_enable=NO
192
+ blacklistd_enable=NO
193
+ blacklistd_flags=''
194
+ kdc_enable=NO
195
+ kdc_program=/usr/libexec/kdc
196
+ kdc_flags=''
197
+ kadmind_enable=NO
198
+ kadmind_program=/usr/libexec/kadmind
199
+ kpasswdd_enable=NO
200
+ kpasswdd_program=/usr/libexec/kpasswdd
201
+ kfd_enable=NO
202
+ kfd_program=/usr/libexec/kfd
203
+ kfd_flags=''
204
+ ipropd_master_enable=NO
205
+ ipropd_master_program=/usr/libexec/ipropd-master
206
+ ipropd_master_flags=''
207
+ ipropd_master_keytab=/etc/krb5.keytab
208
+ ipropd_master_slaves=''
209
+ ipropd_slave_enable=NO
210
+ ipropd_slave_program=/usr/libexec/ipropd-slave
211
+ ipropd_slave_flags=''
212
+ ipropd_slave_keytab=/etc/krb5.keytab
213
+ ipropd_slave_master=''
214
+ gssd_enable=NO
215
+ gssd_program=/usr/sbin/gssd
216
+ gssd_flags=''
217
+ rwhod_enable=NO
218
+ rwhod_flags=''
219
+ rarpd_enable=NO
220
+ rarpd_flags=-a
221
+ bootparamd_enable=NO
222
+ bootparamd_flags=''
223
+ pppoed_enable=NO
224
+ pppoed_provider='*'
225
+ pppoed_flags='-P /var/run/pppoed.pid'
226
+ pppoed_interface=fxp0
227
+ sshd_enable=NO
228
+ sshd_program=/usr/sbin/sshd
229
+ sshd_flags=''
230
+ ftpd_enable=NO
231
+ ftpd_program=/usr/libexec/ftpd
232
+ ftpd_flags=''
233
+ amd_enable=NO
234
+ amd_program=/usr/sbin/amd
235
+ amd_flags='-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map'
236
+ amd_map_program=NO
237
+ autofs_enable=NO
238
+ automount_flags=''
239
+ automountd_flags=''
240
+ autounmountd_flags=''
241
+ nfs_client_enable=NO
242
+ nfs_access_cache=60
243
+ nfs_server_enable=NO
244
+ nfs_server_flags='-u -t'
245
+ nfs_server_managegids=NO
246
+ mountd_enable=NO
247
+ mountd_flags='-r -S'
248
+ weak_mountd_authentication=NO
249
+ nfs_reserved_port_only=NO
250
+ nfs_bufpackets=''
251
+ rpc_lockd_enable=NO
252
+ rpc_lockd_flags=''
253
+ rpc_statd_enable=NO
254
+ rpc_statd_flags=''
255
+ rpcbind_enable=NO
256
+ rpcbind_program=/usr/sbin/rpcbind
257
+ rpcbind_flags=''
258
+ rpc_ypupdated_enable=NO
259
+ keyserv_enable=NO
260
+ keyserv_flags=''
261
+ nfsv4_server_enable=NO
262
+ nfscbd_enable=NO
263
+ nfscbd_flags=''
264
+ nfsuserd_enable=NO
265
+ nfsuserd_flags=''
266
+ timed_enable=NO
267
+ timed_flags=''
268
+ ntpdate_enable=NO
269
+ ntpdate_program=/usr/sbin/ntpdate
270
+ ntpdate_flags=-b
271
+ ntpdate_config=/etc/ntp.conf
272
+ ntpdate_hosts=''
273
+ ntpd_enable=NO
274
+ ntpd_program=/usr/sbin/ntpd
275
+ ntpd_config=/etc/ntp.conf
276
+ ntpd_sync_on_start=NO
277
+ ntpd_flags='-p /var/run/ntpd.pid -f /var/db/ntpd.drift'
278
+ ntp_src_leapfile=/etc/ntp/leap-seconds
279
+ ntp_db_leapfile=/var/db/ntpd.leap-seconds.list
280
+ ntp_leapfile_sources=https://www.ietf.org/timezones/data/leap-seconds.list
281
+ ntp_leapfile_fetch_opts=-mq
282
+ ntp_leapfile_expiry_days=30
283
+ ntp_leapfile_fetch_verbose=NO
284
+ nis_client_enable=NO
285
+ nis_client_flags=''
286
+ nis_ypset_enable=NO
287
+ nis_ypset_flags=''
288
+ nis_server_enable=NO
289
+ nis_server_flags=''
290
+ nis_ypxfrd_enable=NO
291
+ nis_ypxfrd_flags=''
292
+ nis_yppasswdd_enable=NO
293
+ nis_yppasswdd_flags=''
294
+ nis_ypldap_enable=NO
295
+ nis_ypldap_flags=''
296
+ bsnmpd_enable=NO
297
+ bsnmpd_flags=''
298
+ defaultrouter=NO
299
+ static_arp_pairs=''
300
+ static_ndp_pairs=''
301
+ static_routes=''
302
+ natm_static_routes=''
303
+ gateway_enable=NO
304
+ routed_enable=NO
305
+ routed_program=/sbin/routed
306
+ routed_flags=-q
307
+ arpproxy_all=NO
308
+ forward_sourceroute=NO
309
+ accept_sourceroute=NO
310
+ atm_enable=NO
311
+ atm_pvcs=''
312
+ atm_arps=''
313
+ hcsecd_enable=NO
314
+ hcsecd_config=/etc/bluetooth/hcsecd.conf
315
+ sdpd_enable=NO
316
+ sdpd_control=/var/run/sdp
317
+ sdpd_groupname=nobody
318
+ sdpd_username=nobody
319
+ bthidd_enable=NO
320
+ bthidd_config=/etc/bluetooth/bthidd.conf
321
+ bthidd_hids=/var/db/bthidd.hids
322
+ rfcomm_pppd_server_enable=NO
323
+ rfcomm_pppd_server_profile='one two'
324
+ rfcomm_pppd_server_one_channel=1
325
+ rfcomm_pppd_server_two_channel=3
326
+ ubthidhci_enable=NO
327
+ netwait_enable=NO
328
+ netwait_timeout=60
329
+ netwait_if_timeout=30
330
+ icmp_bmcastecho=NO
331
+ ipv6_network_interfaces=auto
332
+ ipv6_activate_all_interfaces=NO
333
+ ipv6_defaultrouter=NO
334
+ ipv6_static_routes=''
335
+ ipv6_gateway_enable=NO
336
+ ipv6_cpe_wanif=NO
337
+ ipv6_privacy=NO
338
+ route6d_enable=NO
339
+ route6d_program=/usr/sbin/route6d
340
+ route6d_flags=''
341
+ ipv6_default_interface=NO
342
+ rtsol_flags=''
343
+ rtsold_enable=NO
344
+ rtsold_flags=-a
345
+ rtadvd_enable=NO
346
+ rtadvd_interfaces=''
347
+ mroute6d_enable=NO
348
+ mroute6d_program=/usr/local/sbin/pim6dd
349
+ mroute6d_flags=''
350
+ stf_interface_ipv4addr=''
351
+ stf_interface_ipv4plen=0
352
+ stf_interface_ipv6_ifid=0:0:0:1
353
+ stf_interface_ipv6_slaid=0000
354
+ ipv6_ipv4mapping=NO
355
+ ipv6_ipfilter_rules=/etc/ipf6.rules
356
+ ip6addrctl_enable=YES
357
+ ip6addrctl_verbose=NO
358
+ ip6addrctl_policy=AUTO
359
+ keyboard=''
360
+ keymap=NO
361
+ keyrate=NO
362
+ keybell=NO
363
+ keychange=NO
364
+ cursor=NO
365
+ scrnmap=NO
366
+ font8x16=NO
367
+ font8x14=NO
368
+ font8x8=NO
369
+ blanktime=300
370
+ saver=NO
371
+ moused_nondefault_enable=YES
372
+ moused_enable=NO
373
+ moused_type=auto
374
+ moused_port=/dev/psm0
375
+ moused_flags=''
376
+ mousechar_start=NO
377
+ allscreens_flags=''
378
+ allscreens_kbdflags=''
379
+ mta_start_script=/etc/rc.sendmail
380
+ sendmail_enable=NO
381
+ sendmail_pidfile=/var/run/sendmail.pid
382
+ sendmail_procname=/usr/sbin/sendmail
383
+ sendmail_flags='-L sm-mta -bd -q30m'
384
+ sendmail_cert_create=YES
385
+ sendmail_submit_enable=YES
386
+ sendmail_submit_flags='-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost'
387
+ sendmail_outbound_enable=YES
388
+ sendmail_outbound_flags='-L sm-queue -q30m'
389
+ sendmail_msp_queue_enable=YES
390
+ sendmail_msp_queue_flags='-L sm-msp-queue -Ac -q30m'
391
+ sendmail_rebuild_aliases=NO
392
+ auditd_enable=NO
393
+ auditd_program=/usr/sbin/auditd
394
+ auditd_flags=''
395
+ auditdistd_enable=NO
396
+ auditdistd_program=/usr/sbin/auditdistd
397
+ auditdistd_flags=''
398
+ cron_enable=YES
399
+ cron_program=/usr/sbin/cron
400
+ cron_dst=YES
401
+ cron_flags=''
402
+ lpd_enable=NO
403
+ lpd_program=/usr/sbin/lpd
404
+ lpd_flags=''
405
+ nscd_enable=NO
406
+ chkprintcap_enable=NO
407
+ chkprintcap_flags=-d
408
+ dumpdev=NO
409
+ dumpdir=/var/crash
410
+ savecore_enable=YES
411
+ savecore_flags='-m 10'
412
+ crashinfo_enable=YES
413
+ crashinfo_program=/usr/sbin/crashinfo
414
+ quota_enable=NO
415
+ check_quotas=YES
416
+ quotaon_flags=-a
417
+ quotaoff_flags=-a
418
+ quotacheck_flags=-a
419
+ accounting_enable=NO
420
+ ibcs2_enable=NO
421
+ ibcs2_loaders=coff
422
+ firstboot_sentinel=/firstboot
423
+ sysvipc_enable=NO
424
+ linux_enable=NO
425
+ svr4_enable=NO
426
+ clear_tmp_enable=NO
427
+ clear_tmp_X=YES
428
+ ldconfig_insecure=NO
429
+ ldconfig_paths='/usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg'
430
+ ldconfig32_paths='/usr/lib32 /usr/lib32/compat'
431
+ ldconfigsoft_paths='/usr/libsoft /usr/libsoft/compat /usr/local/libsoft'
432
+ ldconfig_paths_aout='/usr/lib/compat/aout /usr/local/lib/aout'
433
+ ldconfig_local_dirs=/usr/local/libdata/ldconfig
434
+ ldconfig_local32_dirs=/usr/local/libdata/ldconfig32
435
+ ldconfig_localsoft_dirs=/usr/local/libdata/ldconfigsoft
436
+ kern_securelevel_enable=NO
437
+ kern_securelevel=-1
438
+ update_motd=YES
439
+ entropy_boot_file=/boot/entropy
440
+ entropy_file=/entropy
441
+ entropy_dir=/var/db/entropy
442
+ entropy_save_sz=4096
443
+ entropy_save_num=8
444
+ harvest_mask=511
445
+ dmesg_enable=YES
446
+ watchdogd_enable=NO
447
+ watchdogd_flags=''
448
+ devfs_rulesets='/etc/defaults/devfs.rules /etc/devfs.rules'
449
+ devfs_system_ruleset=''
450
+ devfs_set_rulesets=''
451
+ devfs_load_rulesets=YES
452
+ performance_cx_lowest=C2
453
+ performance_cpu_freq=NONE
454
+ economy_cx_lowest=Cmax
455
+ economy_cpu_freq=NONE
456
+ virecover_enable=YES
457
+ ugidfw_enable=NO
458
+ bsdextended_script=/etc/rc.bsdextended
459
+ newsyslog_enable=YES
460
+ newsyslog_flags=-CN
461
+ mixer_enable=YES
462
+ opensm_enable=NO
463
+ rctl_enable=YES
464
+ rctl_rules=/etc/rctl.conf
465
+ iovctl_files=''
466
+ jail_enable=NO
467
+ jail_confwarn=YES
468
+ jail_parallel_start=NO
469
+ jail_list=''
470
+ jail_reverse_stop=NO
471
+ [ -z '' ]
472
+ source_rc_confs_defined=yes
473
+ [ -r /etc/defaults/vendor.conf ]
474
+ source_rc_confs
475
+ local i sourced_files
476
+ sourced_files=:/etc/rc.conf:
477
+ [ -r /etc/rc.conf ]
478
+ . /etc/rc.conf
479
+ hostname=freenas
480
+ openssh_enable=YES
481
+ sendmail_enable=NONE
482
+ background_fsck=NO
483
+ fsck_y_enable=YES
484
+ synchronous_dhclient=YES
485
+ ntpd_enable=YES
486
+ ntpd_sync_on_start=YES
487
+ vmware_guest_vmblock_enable=YES
488
+ vmware_guest_vmhgfs_enable=YES
489
+ vmware_guest_vmmemctl_enable=YES
490
+ devfs_system_ruleset=usbrules
491
+ clear_tmp_X=NO
492
+ geli_autodetach=NO
493
+ dumpdev=AUTO
494
+ dumpdir=/data/crash
495
+ ix_textdump_enable=YES
496
+ savecore_enable=NO
497
+ early_kld_list='geom_mirror geom_multipath'
498
+ kld_list='dtraceall ipmi hwpmc t3_tom t4_tom'
499
+ dbus_enable=YES
500
+ mdnsd_enable=YES
501
+ performance_cpu_freq=HIGH
502
+ local_startup='/etc/ix.rc.d /usr/local/etc/rc.d'
503
+ early_late_divider='*'
504
+ root_rw_mount=YES
505
+ syslogd_enable=NO
506
+ syslog_ng_enable=YES
507
+ nginx_enable=YES
508
+ nginx_login_class=nginx
509
+ devd_flags=-q
510
+ cleanvar_enable=NO
511
+ openssh_skipportscheck=YES
512
+ iocage_enable=YES
513
+ sourced_files=:/etc/rc.conf::/etc/rc.conf.local:
514
+ [ -r /etc/rc.conf.local ]
515
+ . /etc/rc.conf.local
516
+ . /etc/rc.freenas
517
+ . /etc/rc.subr
518
+ : 12421
519
+ export RC_PID
520
+ [ -n YES ]
521
+ return
522
+ : /data/freenas-v1.db
523
+ : /var/tmp/freenas_config.md5
524
+ : /usr/local/bin/sqlite3fn
525
+ : /var/tmp/rc.conf.freenas
526
+ : /etc/version
527
+ : /var/db/system
528
+ : /data/cd-upgrade
529
+ : /data/need-update
530
+ : /data/first-boot
531
+ : /usr/local/bin/openssl
532
+ : /etc/certificates
533
+ : /etc/certificates/CA
534
+ : /usr/local/sbin/nginx
535
+ : /usr/local/etc/nginx
536
+ : /usr/local/etc/rc.d/nginx
537
+ : /usr/local/etc/nginx/nginx.conf
538
+ : 443
539
+ : 80
540
+ : /var/tmp/.cache
541
+ : 2g
542
+ : 60
543
+ : /usr/local/etc/sssd/sssd.conf
544
+ : /usr/local/etc/openldap/ldap.conf
545
+ : /usr/local/etc/certs/cacert.crt
546
+ : 0
547
+ : /etc/ix/templates/pam.d
548
+ : /etc/pam.d
549
+ : /etc/nsswitch.conf
550
+ : /etc/ix/templates/kerberos/krb5.conf
551
+ : /etc/krb5.conf
552
+ : /etc/AD.keytab
553
+ : /usr/local/etc/smb4.conf
554
+ : /usr/local/bin/warden
555
+ : /tmp/.ha_mode
556
+ ls /etc/directoryservice/rc.ActiveDirectory /etc/directoryservice/rc.DomainController /etc/directoryservice/rc.LDAP /etc/directoryservice/rc.NIS
557
+ . /etc/directoryservice/rc.ActiveDirectory
558
+ . /etc/rc.subr
559
+ : 12421
560
+ export RC_PID
561
+ [ -n YES ]
562
+ return
563
+ : /etc/directoryservice/ActiveDirectory
564
+ : /etc/directoryservice/ActiveDirectory/config
565
+ : /etc/directoryservice/ActiveDirectory/ctl
566
+ : 10
567
+ : 10
568
+ : /usr/local/bin/adtool
569
+ . /etc/directoryservice/rc.DomainController
570
+ . /etc/rc.subr
571
+ : 12421
572
+ export RC_PID
573
+ [ -n YES ]
574
+ return
575
+ . /etc/directoryservice/rc.LDAP
576
+ . /etc/rc.subr
577
+ : 12421
578
+ export RC_PID
579
+ [ -n YES ]
580
+ return
581
+ : /etc/directoryservice/LDAP
582
+ : /etc/directoryservice/LDAP/config
583
+ : /usr/local/etc/nss_ldap.conf
584
+ : /usr/local/etc/nss_ldap.secret
585
+ : /usr/local/etc/openldap/ldap.conf
586
+ : /usr/local/etc/certs/cacert.crt
587
+ : 0
588
+ : /usr/local/bin/ldaptool
589
+ . /etc/directoryservice/rc.NIS
590
+ . /etc/rc.subr
591
+ : 12421
592
+ export RC_PID
593
+ [ -n YES ]
594
+ return
595
+ : /etc/directoryservice/NT4
596
+ : /etc/directoryservice/NT4/ctl
597
+ : +:::::::::
598
+ : '+:*::'
599
+ : +::
600
+ md5 -q /data/freenas-v1.db
601
+ _NEWSUM=d4e4528694eb8817f263ebd04bceb4e8
602
+ cat /var/tmp/freenas_config.md5
603
+ _OLDSUM=d4e4528694eb8817f263ebd04bceb4e8
604
+ [ ! d4e4528694eb8817f263ebd04bceb4e8 '=' d4e4528694eb8817f263ebd04bceb4e8 -a ! -f /data/need-update ]
605
+ export 'LANG=en_US.UTF-8'
606
+ [ -f /var/tmp/rc.conf.freenas ]
607
+ . /var/tmp/rc.conf.freenas
608
+ ifconfig_em0=DHCP
609
+ hostname=freenas.local
610
+ netatalk_enable=NO
611
+ proftpd_enable=NO
612
+ nfs_server_enable=NO
613
+ rpc_lockd_enable=NO
614
+ rpc_statd_enable=NO
615
+ mountd_enable=NO
616
+ nfsd_enable=NO
617
+ rpcbind_enable=NO
618
+ rsyncd_enable=NO
619
+ snmpd_enable=NO
620
+ snmp_agent_enable=NO
621
+ openssh_enable=NO
622
+ inetd_enable=NO
623
+ inadyn_enable=NO
624
+ smartd_daemon_enable=YES
625
+ ladvd_enable=NO
626
+ ctld_enable=NO
627
+ apache24_enable=NO
628
+ netdata_enable=NO
629
+ samba_server_enable=NO
630
+ smbd_enable=NO
631
+ nmbd_enable=NO
632
+ winbindd_enable=NO
633
+ snmpd_conffile=/etc/local/snmpd.conf
634
+ snmpd_flags=-LS3d
635
+ sssd_enable=NO
636
+ nslcd_enable=NO
637
+ zfs_enable=YES
638
+ powerd_enable=NO
639
+ collectd_enable=YES
640
+ failover_enable=NO
641
+ nfs_server_flags='-t -n 4 '
642
+ rpc_statd_flags=''
643
+ rpc_lockd_flags=''
644
+ mountd_flags=-rS
645
+ smartd_daemon_flags='-i 1800'
646
+ minio_enable=YES
647
+ minio_disks=''
648
+ minio_address=:9000
649
+ minio_env='MINIO_ACCESS_KEY= MINIO_SECRET_KEY= '
650
+ MINIO_BROWSER=off
651
+ ixssl_list=''
652
+ geli_devices=''
653
+ ladvd_flags='-a -z'
654
+ ataidle_enable=YES
655
+ pbid_enable=YES
656
+ watchdogd_enable=NO
657
+ zfsd_enable=YES
658
+ vmware_guestd_enable=NO
659
+ _rc_conf_loaded=true
660
+ [ -n minio ]
661
+ _d=/etc
662
+ [ -f /etc/rc.conf.d/minio ]
663
+ [ -d /etc/rc.conf.d/minio ]
664
+ _d=/etc/ix.rc.d
665
+ [ -f /etc/ix.rc.d/rc.conf.d/minio ]
666
+ [ -d /etc/ix.rc.d/rc.conf.d/minio ]
667
+ _d=/usr/local/etc
668
+ [ -f /usr/local/etc/rc.conf.d/minio ]
669
+ [ -d /usr/local/etc/rc.conf.d/minio ]
670
+ eval '_defval=$minio_enable_defval'
671
+ _defval=''
672
+ [ -n '' ]
673
+ : YES
674
+ : /usr/local/etc/minio
675
+ :
676
+ : :9000
677
+ : minio
678
+ : minio
679
+ : /var/log/minio.log
680
+ pidfile=/var/run/minio.pid
681
+ procname=/usr/local/bin/minio
682
+ command=/usr/sbin/daemon
683
+ command_args='-c -p /var/run/minio.pid /usr/bin/env MINIO_ACCESS_KEY= MINIO_SECRET_KEY=  /usr/local/bin/minio -C "/usr/local/etc/minio" server --address=":9000" --quiet  < /dev/null > /var/log/minio.log 2>&1'
684
+ start_precmd=minio_startprecmd
685
+ run_rc_command start
686
+ _return=0
687
+ rc_arg=start
688
+ [ -z minio ]
689
+ shift 1
690
+ rc_extra_args=''
691
+ _rc_prefix=''
692
+ eval '_override_command=$minio_program'
693
+ _override_command=''
694
+ command=/usr/sbin/daemon
695
+ _keywords='start stop restart rcvar enabled describe extracommands '
696
+ rc_pid=''
697
+ _pidcmd=''
698
+ _procname=/usr/local/bin/minio
699
+ [ -n /usr/local/bin/minio ]
700
+ [ -n /var/run/minio.pid ]
701
+ _pidcmd='rc_pid=$(check_pidfile /var/run/minio.pid /usr/local/bin/minio )'
702
+ _keywords='start stop restart rcvar enabled describe extracommands  status poll'
703
+ [ -z start ]
704
+ [ start '=' enabled ]
705
+ [ -n '' ]
706
+ eval 'rc_flags=$minio_flags'
707
+ rc_flags=''
708
+ eval '_chdir=$minio_chdir' '_chroot=$minio_chroot' '_nice=$minio_nice' '_user=$minio_user' '_group=$minio_group' '_groups=$minio_groups' '_fib=$minio_fib' '_env=$minio_env' '_prepend=$minio_prepend' '_login_class=${minio_login_class:-daemon}' '_oomprotect=$minio_oomprotect'
709
+ _chdir='' _chroot='' _nice='' _user=minio _group=minio _groups='' _fib='' _env='MINIO_ACCESS_KEY= MINIO_SECRET_KEY= ' _prepend='' _login_class=daemon _oomprotect=''
710
+ [ -n minio ]
711
+ eval if [ -x /usr/bin/id '];' then /usr/bin/id '-un;' fi
712
+ [ -x /usr/bin/id ]
713
+ /usr/bin/id -un
714
+ [ minio '=' root ]
715
+ [ -z '' ]
716
+ eval 'rc_pid=$(check_pidfile' /var/run/minio.pid /usr/local/bin/minio ')'
717
+ check_pidfile /var/run/minio.pid /usr/local/bin/minio
718
+ _pidfile=/var/run/minio.pid
719
+ _procname=/usr/local/bin/minio
720
+ _interpreter=''
721
+ [ -z /var/run/minio.pid -o -z /usr/local/bin/minio ]
722
+ [ ! -f /var/run/minio.pid ]
723
+ read _pid _junk
724
+ [ -z '' ]
725
+ debug 'pid file (/var/run/minio.pid): no pid in file.'
726
+ return
727
+ rc_pid=''
728
+ [ start '!=' start ]
729
+ [ -n minio_enable -a start '!=' rcvar -a start '!=' stop -a start '!=' describe ]
730
+ checkyesno minio_enable
731
+ eval '_value=$minio_enable'
732
+ _value=YES
733
+ debug 'checkyesno: minio_enable is set to YES.'
734
+ return 0
735
+ [ start '=' start -a -z '' -a -n '' ]
736
+ eval '_cmd=$start_cmd' '_precmd=$start_precmd' '_postcmd=$start_postcmd'
737
+ _cmd='' _precmd=minio_startprecmd _postcmd=''
738
+ [ -n '' ]
739
+ [ ! -x /usr/sbin/daemon ]
740
+ _run_rc_precmd
741
+ check_required_before start
742
+ local _f
743
+ return 0
744
+ [ -n minio_startprecmd ]
745
+ debug 'run_rc_command: start_precmd: minio_startprecmd '
746
+ eval 'minio_startprecmd '
747
+ minio_startprecmd
748
+ [ ! -e /var/run/minio.pid ]
749
+ [ ! -d /usr/local/etc/minio ]
750
+ [ ! -e /var/log/minio.log ]
751
+ stat -f %p /usr/local/etc/minio
752
+ [ -d /usr/local/etc/minio -a 40775 '!=' 40775 ]
753
+ [ ! -d '' ]
754
+ install -d -o minio -g minio ''
755
install: mkdir : No such file or directory
756
+ _return=71
757
+ [ 71 -ne 0 ]
758
+ [ -z '' ]
759
+ return 1
760
+ warn 'failed precmd routine for minio'
761
+ [ -x /usr/bin/logger ]
762
+ logger '/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio'
763
+ echo '/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio'
764
/usr/local/etc/rc.d/minio: WARNING: failed precmd routine for minio
765
+ return 1