[Spacewalk-list] Where to put modified rhn_search_daemon.conf?

William H. ten Bensel WHTENBEN at up.com
Wed Mar 21 14:58:44 UTC 2018


Also, here are some additional examples of items that can be overridden 
with comments.

# The following overrides the defaults in 
/usr/share/rhn/config-defaults/*.conf
# Multiple spacewalks, so it is good to have a custom product name, 
headers, and email.
product_name = xxx xxxx xxxx
java.custom_header = xxxx xxxx xxxx 
web.default_mail_from = xxxxxxxx <yyyyy at myexample.com>


# Allow larger config files
java.config_file_edit_size = 128
web.maximum_config_file_size = 1048576
maximum_config_file_size = 1048576

# Allow longer sessions for users
web.session_cookie_lifetime = #####
web.session_database_lifetime = #####

# Increase java heap size and logging: 
https://access.redhat.com/solutions/43122
taskomatic.java.maxmemory = 12288
taskomatic.java.initmemory = 512
taskomatic.logfile.maxsize = 100m
java.taskomatic_channel_repodata_workers = 4
# When taskomatic is not behaving:
#taskomatic.logfile.loglevel = DEBUG

# Increase rhn-search https://access.redhat.com/solutions/322093
rhn-search.java.maxmemory

# legal note to be displayed on the login page
# (join long lines with \, HTML is okay to use)
java.legal_note = LEGAL JARGON

# The number of days to wait to hear from a system before warning that it 
is not checking in.  Does not change the email notifications, just the 
GUI.
web.system_checkin_threshold = ### 

- Thanks and good luck



From:   "William H. ten Bensel" <WHTENBEN at up.com>
To:     spacewalk-list at redhat.com
Date:   03/21/2018 09:32 AM
Subject:        Re: [Spacewalk-list] Where to put modified 
rhn_search_daemon.conf?
Sent by:        spacewalk-list-bounces at redhat.com



This email originated from outside of the company. Please use discretion 
if opening attachments or clicking on links. 
Any changes from the default should be placed in /etc/rhn/rhn.conf.  The 
start process reads the defaults, then processes the rhn.conf for any 
additional settings. 

Here is an example of increasing the rhn-search memory.

[root]# grep search /etc/rhn/rhn.conf
# Increase rhn-search https://access.redhat.com/solutions/322093
rhn-search.java.maxmemory = 2048

- Thanks and good luck



From:        Thomas Schweikle <tschweikle at gmail.com>
To:        spacewalk <spacewalk-list at redhat.com>
Date:        03/20/2018 05:51 AM
Subject:        [Spacewalk-list] Where to put modified 
rhn_search_daemon.conf?
Sent by:        spacewalk-list-bounces at redhat.com



This email originated from outside of the company.  Please use discretion 
if opening attachments or clicking on links.

Hi!

Default rhn_search_daemon.conf is located at
/usr/share/rhn/config-default/. I've tried to put a modified version
into /etc/rhn/rhn_search_daemon.conf but this is ignored.

I've tried to find some information about this config file, but only
found hints for the default directory. Nothing about where to put
changed versions to have them parsed while rhnsearchd is started.

-- 
Thomas

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list






**



This email and any attachments may contain information that is 
confidential and/or privileged for the sole use of the intended recipient. 
Any use, review, disclosure, copying, distribution or reliance by others, 
and any forwarding of this email or its contents, without the express 
permission of the sender is strictly prohibited by law. If you are not the 
intended recipient, please contact the sender immediately, delete the 
e-mail and destroy all copies.

**This email originated from outside of the company.  Please use 
discretion if opening attachments or clicking on links.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list



**

This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180321/731aef26/attachment.htm>


More information about the Spacewalk-list mailing list