search for: is_standalone

Displaying 9 results from an estimated 9 matches for "is_standalone".

2009 Jul 25
1
dovecot-1.2 changeset: 9238:1eb00fd62d1c causes a compiler warning
Hi Timo, gcc tells me: main.c: In function ?main_init?: main.c:182: warning: suggest parentheses around comparison in operand of & src/imap/main.c:182: if (username == NULL & IS_STANDALONE()) Regards, Pascal -- The trapper recommends today: cafebabe.0920623 at localdomain.org
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
...+--------------- scripts/ovirt-config-logging | 2 +- scripts/ovirt-functions | 4 ++++ 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/scripts/ovirt b/scripts/ovirt index 4ff03f2..0c5e3be 100755 --- a/scripts/ovirt +++ b/scripts/ovirt @@ -14,6 +14,9 @@ start() { if is_standalone; then return 0 fi + + ovirt-config-logging AUTO + find_srv ipa tcp if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then krb5_conf=/etc/krb5.conf @@ -43,21 +46,7 @@ start() { log "skipping ovirt-awake, oVirt identify service not availabl...
2006 Aug 30
0
[long message] problem with imap authentication process
...root. Mail users are virtual users and their account informations are stored to a passwd-like file. I searched in the source code the error string and found this dovecot-1.0.rc7/src/imap/main.c: > user = getenv("USER"); > if (user == NULL) { > if (IS_STANDALONE()) > user = getlogin(); > if (user == NULL) > i_fatal("USER environment missing"); > } This is the only occurrence of the error. This code is simple, Why getenv("USER") returns NULL ? variable was s...
2009 Jun 04
1
[PATCH node] Hostname is now properly persisted between reboots. rhbz#504166
...stop_log return $rc @@ -82,4 +90,3 @@ else printf "\n\n Hostname Configuration\n\n" prompt_user fi - diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index 5997a4c..e938256 100755 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -78,6 +78,16 @@ is_standalone() { if is_managed; then return 1; else return 0; fi } +# return 0 if local storage is configured +# return 1 if local storage is not configured +is_local_storage_configured () { + if lvs HostVG/Config >/dev/null >&1; then + return 0 + fi + + return 1 +} + # perfor...
2020 Oct 15
2
how to set smtp-client -> submission_relay_host for IPv4 only?
On 10/15/20 2:02 PM, jeremy ardley wrote: >> how/where do I configure (just) the dovecot smtp-client -> submission_relay_host to only connect IPv4? > > It appears your host has A and AAAA records in your DNS. The clients will try IPV6 first if they see an AAAA record. > > If you don't need IPV6 for your host remove the AAAA record. All connections will then only use
2010 Feb 10
1
RFC: First pass at making the node generic...
I'm looking for feedback on this first patch. The node has been pushed towards a more generic boot process. With this patch the node can now boot up and execute a few specifically-named scripts that reside in /etc/node.d/ at key points during the startup. After this goes upstream, the next step will be to define in more detail the remote interfaces for the "managed" runtime
2011 Dec 28
1
/usr/lib/dovecot/imap ignores log settings?
Hi Dovecot peeps, I'm enjoying running /usr/lib/dovecot/imap directly as a PREAUTH IMAP pipe. I find that it outputs log messages whose severity is INFO to stdout. I'm running it as follows: /usr/lib/dovecot/imap -c /tmp/dovecot.conf and I see the following messages output to stdout: * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...tore_config(OVIRT_CONFIG_FILES) + +# return 1 if oVirt Node is running in standalone mode +# return 0 if oVirt Node is managed by the oVirt Server +def is_managed(): + return OVIRT_VARS["OVIRT_STANDALONE"] + +# oVirt Node in standalone mode does not try to contact the oVirt Server +def is_standalone(): + if is_managed: + return False + else: + return True + +# return 0 if local storage is configured +# return 1 if local storage is not configured +def is_local_storage_configured(): + ret = os.system("lvs HostVG/Config >/dev/null >&1") + if ret >...
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.