commit conman for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2019-10-02 11:58:16

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new.2352 (New)


Package is "conman"

Wed Oct  2 11:58:16 2019 rev:14 rq:734100 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2019-06-26 
16:05:23.439744569 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new.2352/conman.changes  2019-10-02 
11:58:18.379122322 +0200
@@ -10 +10 @@
-- Update to conman-0.3.0 (2018-09-15):
+- Update to conman-0.3.0 (2018-09-15): (jsc#SLE-8514)



Other differences:
--



commit conman for openSUSE:Factory

2019-06-26 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2019-06-26 16:04:45

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new.4615 (New)


Package is "conman"

Wed Jun 26 16:04:45 2019 rev:13 rq:712070 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-09-25 
15:44:15.913172408 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new.4615/conman.changes  2019-06-26 
16:05:23.439744569 +0200
@@ -1,0 +2,6 @@
+Wed Jun 12 14:18:23 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut the build queues by allowing usage of systemd-mini
+
+---



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.l6hEPk/_old  2019-06-26 16:05:24.955746714 +0200
+++ /var/tmp/diff_new_pack.l6hEPk/_new  2019-06-26 16:05:24.955746714 +0200
@@ -62,7 +62,7 @@
 Source0:https://github.com/dun/conman/archive/%{name}-%{version}.tar.gz
 Source1:%{name}.service.in
 %if 0%{?have_systemd}
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
 Requires(pre):  shadow




commit conman for openSUSE:Factory

2018-09-25 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-09-25 15:44:12

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Tue Sep 25 15:44:12 2018 rev:12 rq:637874 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-09-24 
13:13:49.309648326 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-09-25 
15:44:15.913172408 +0200
@@ -1,0 +2,8 @@
+Tue Sep 25 07:40:26 UTC 2018 - e...@suse.com
+
+- Update to conman-0.3.0 (2018-09-15):
+  * Fixed slow connects to Unix socket consoles triggered from
+inotify. (#28,#29).
+  * Obsoletes: Reset-delay-for-unixsock-connect-from-inotify.patch
+
+---

Old:

  Reset-delay-for-unixsock-connect-from-inotify.patch
  conman-0.2.9.tar.gz

New:

  conman-0.3.0.tar.gz



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.xw917A/_old  2018-09-25 15:44:16.445171840 +0200
+++ /var/tmp/diff_new_pack.xw917A/_new  2018-09-25 15:44:16.449171836 +0200
@@ -44,7 +44,7 @@
 %endif
 
 Name:   conman
-Version:0.2.9
+Version:0.3.0
 Release:0
 
 Summary:The Console Manager
@@ -71,7 +71,6 @@
 %endif
 
 Patch1: conman-suse-fix-expect-scripts.patch
-Patch2: Reset-delay-for-unixsock-connect-from-inotify.patch
 
 # 8/15/14 karl.w.sch...@intel.com - include prereq
 %if 0%{?sles_version} || 0%{?suse_version}
@@ -96,7 +95,6 @@
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 %patch1 -p1
-%patch2 -p1
 
 %build
 %configure --with-tcp-wrappers \

++ conman-0.2.9.tar.gz -> conman-0.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conman-conman-0.2.9/META new/conman-conman-0.3.0/META
--- old/conman-conman-0.2.9/META2017-12-14 02:01:32.0 +0100
+++ new/conman-conman-0.3.0/META2018-09-15 17:51:34.0 +0200
@@ -1,5 +1,5 @@
   Name: conman
-  Version:  0.2.9
+  Version:  0.3.0
   Release:  1
-  Date: 2017-12-14
+  Date: 2018-09-15
   Author:   Chris Dunlap 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conman-conman-0.2.9/NEWS new/conman-conman-0.3.0/NEWS
--- old/conman-conman-0.2.9/NEWS2017-12-14 02:01:32.0 +0100
+++ new/conman-conman-0.3.0/NEWS2018-09-15 17:51:34.0 +0200
@@ -1,3 +1,6 @@
+conman-0.3.0 (2018-09-15):
+- Fixed slow connects to Unix socket consoles triggered from inotify. (#28,#29)
+
 conman-0.2.9 (2017-12-14):
 - Allowed IPMI defaults to be overridden via libipmiconsole.conf. (#27)
 - Updated recognized strings for IPMI workaround-flags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conman-conman-0.2.9/PLATFORMS 
new/conman-conman-0.3.0/PLATFORMS
--- old/conman-conman-0.2.9/PLATFORMS   2017-12-14 02:01:32.0 +0100
+++ new/conman-conman-0.3.0/PLATFORMS   2018-09-15 17:51:34.0 +0200
@@ -1,17 +1,15 @@
-ConMan 0.2.9 has been built on the following systems:
+ConMan 0.3.0 has been built on the following systems:
 
-- CentOS 6.9
-- CentOS 7.4.1708
-- Debian 9.3
-- Fedora 27
-- FreeBSD 11.1
-- NetBSD 7.1
-- OpenBSD 6.2
-- Ubuntu 16.04.3 LTS
-- Ubuntu 17.10
+- CentOS 6.10
+- CentOS 7.5.1804
+- Debian 9.5
+- Fedora 28
+- FreeBSD 11.2
+- NetBSD 7.1.2
+- OpenBSD 6.3
+- Ubuntu 18.04.1 LTS
 
 
 RPMs have been built and tested on the following systems:
 
-- CentOS 7.4.1708
-- Fedora 27
+- CentOS 7.5.1804
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conman-conman-0.2.9/THANKS 
new/conman-conman-0.3.0/THANKS
--- old/conman-conman-0.2.9/THANKS  2017-12-14 02:01:32.0 +0100
+++ new/conman-conman-0.3.0/THANKS  2018-09-15 17:51:34.0 +0200
@@ -5,6 +5,7 @@
 Christopher D. Maestas 
 Dave Love 
 Dmitry Monakhov 
+Egbert Eich 
 Jesse Hathaway 
 Levi Pearson 
 Marc Girard 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conman-conman-0.2.9/bool.h 
new/conman-conman-0.3.0/bool.h
--- old/conman-conman-0.2.9/bool.h  2017-12-14 02:01:32.0 +0100
+++ new/conman-conman-0.3.0/bool.h  2018-09-15 17:51:34.0 +0200
@@ -1,6 +1,6 @@
 /*
  *  Written by Chris Dunlap .
- *  Copyright (C) 2007-2017 Lawrence Livermore National Security, LLC.
+ *  Copyright (C) 2007-2018 Lawrence Livermore National Security, LLC.
  *  Copyright (C) 2001-2007 The Regents of the University of 

commit conman for openSUSE:Factory

2018-09-24 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-09-24 13:13:47

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Mon Sep 24 13:13:47 2018 rev:11 rq:637201 version:0.2.9

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-08-24 
17:11:01.918565494 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-09-24 
13:13:49.309648326 +0200
@@ -1,0 +2,5 @@
+Sat Sep 22 13:30:56 UTC 2018 - e...@suse.com
+
+- Add Requires(post): %fillup_prereq sed.
+
+---



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.0Zk92m/_old  2018-09-24 13:13:49.765647534 +0200
+++ /var/tmp/diff_new_pack.0Zk92m/_new  2018-09-24 13:13:49.765647534 +0200
@@ -66,6 +66,8 @@
 BuildRequires:  systemd-rpm-macros
 %{?systemd_requires}
 Requires(pre):  shadow
+Requires(post): %fillup_prereq sed
+Requires(postun): coreutils
 %endif
 
 Patch1: conman-suse-fix-expect-scripts.patch
@@ -141,15 +143,15 @@
 cat >> %{buildroot}%{_tmpfilesdir}/%{name}.conf < /dev/null; then
 cat <> %{buildroot}/etc/conman.conf
 SERVER keepalive=ON
-SERVER logdir="/var/log/%{conmandir}"
-SERVER logfile="/var/log/%{conmandir}conman.log"
+SERVER logdir="/var/log/%{?conmandir}"
+SERVER logfile="/var/log/%{?conmandir}conman.log"
 SERVER loopback=ON
-SERVER pidfile="/var/run/%{conmandir}conman.pid"
+SERVER pidfile="/var/run/%{?conmandir}conman.pid"
 SERVER tcpwrappers=ON
 SERVER timestamp=1h
 GLOBAL seropts="115200,8n1"
@@ -162,7 +164,7 @@
 %pre
 %service_add_pre conman.service
 %if 0%{?conmandir:1}
-%define conman_home "%_localstatedir%_rundir/%conmandir"
+%define conman_home "%_localstatedir%_rundir/%{?conmandir}"
 %define conman_descr "Connection Manager service"
 shopt -s nullglob
 addgrp=0; addusr=0
@@ -192,9 +194,9 @@
 [ -d %_localstatedir/lib/conman ] || mkdir %_localstatedir/lib/conman || :
 if [ $1 -eq 2 -a ! -e %_localstatedir/lib/conman/%migrated ]; then
 tmpfile=$(mktemp /tmp/tmp-)
-sed  -e "s@^\(server\)\|\(SERVER\) \+logdir=.*@SERVER 
logdir=\"/var/log/%{conmandir}\"@" \
-   -e "s@^\(server\)\|\(SERVER\) \+logfile=.*@SERVER 
logfile=\"/var/log/%{conmandir}conman.log\"@" \
-   -e "s@^\(server\)\|\(SERVER\) \+pidfile=.*@SERVER 
pidfile=\"/var/run/%{conmandir}conman.pid\"@" \
+sed  -e "s@^\(server\)\|\(SERVER\) \+logdir=.*@SERVER 
logdir=\"/var/log/%{?conmandir}\"@" \
+   -e "s@^\(server\)\|\(SERVER\) \+logfile=.*@SERVER 
logfile=\"/var/log/%{?conmandir}conman.log\"@" \
+   -e "s@^\(server\)\|\(SERVER\) \+pidfile=.*@SERVER 
pidfile=\"/var/run/%{?conmandir}conman.pid\"@" \
< /etc/conman.conf > $tmpfile
 if ! cmp /etc/conman.conf $tmpfile; then
mv /etc/conman.conf /etc/conman.conf.rpmsave




commit conman for openSUSE:Factory

2018-08-24 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-08-24 17:11:01

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Fri Aug 24 17:11:01 2018 rev:10 rq:631086 version:0.2.9

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-07-21 
10:25:00.862960475 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-08-24 
17:11:01.918565494 +0200
@@ -1,0 +2,16 @@
+Thu Aug 23 10:01:18 UTC 2018 - e...@suse.com
+
+- Update to version 0.2.9:
+  - Allowed IPMI defaults to be overridden via libipmiconsole.conf. (#27)
+  - Updated recognized strings for IPMI workaround-flags (FATE#326641).
+
+---
+Thu Aug 23 09:48:06 UTC 2018 - e...@suse.com
+
+- Replace
+  If-connect-fails-let-other-side-accept-connection-and-come-back.patch
+  by:
+  Reset-delay-for-unixsock-connect-from-inotify.patch:
+  Upstream chose to fix bsc#1101647 slightly differently.
+
+---

Old:

  If-connect-fails-let-other-side-accept-connection-and-come-back.patch
  conman-0.2.8.tar.gz

New:

  Reset-delay-for-unixsock-connect-from-inotify.patch
  conman-0.2.9.tar.gz



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.xIKFgB/_old  2018-08-24 17:11:02.450566127 +0200
+++ /var/tmp/diff_new_pack.xIKFgB/_new  2018-08-24 17:11:02.454566132 +0200
@@ -44,7 +44,7 @@
 %endif
 
 Name:   conman
-Version:0.2.8
+Version:0.2.9
 Release:0
 
 Summary:The Console Manager
@@ -69,7 +69,7 @@
 %endif
 
 Patch1: conman-suse-fix-expect-scripts.patch
-Patch2: 
If-connect-fails-let-other-side-accept-connection-and-come-back.patch
+Patch2: Reset-delay-for-unixsock-connect-from-inotify.patch
 
 # 8/15/14 karl.w.sch...@intel.com - include prereq
 %if 0%{?sles_version} || 0%{?suse_version}

++ Reset-delay-for-unixsock-connect-from-inotify.patch ++
From: Egbert Eich 
Date: Wed Jul 18 11:26:07 2018 +0200
Subject: Reset delay for unixsock connect from inotify
Patch-mainline: Not yet
Git-repo: https://github.com/dun/conman
Git-commit: 8f5bd09162307a23efb8532a95c4e4a562ce30fe
References: bsc#1101647

Consoles over UNIX domain sockets use inotify to detect when their
socket appears in the filesystem.  This inotify event is triggered
when the remote has successfully called bind().  However, the remote
may not have called listen() before the inotify event is serviced
by conmand.  In such a case, connect() will fail with ECONNREFUSED,
after which the connection delay will be increased before the next
connection attempt.  This can result in connection establishment
taking up to UNIXSOCK_MAX_TIMEOUT seconds once the socket appears.

To handle this case, reset the connection delay to UNIXSOCK_MIN_TIMEOUT
when a connection attempt triggered by inotify fails.

[cdun...@llnl.gov: Restructured to use isViaInotify flag]
Signed-off-by: Egbert Eich 
Signed-off-by: Chris Dunlap 
Closes #28
Closes #29
Signed-off-by: Egbert Eich 
---
 server-unixsock.c | 36 ++--
 server.h  |  1 +
 2 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/server-unixsock.c b/server-unixsock.c
index e683ec7..b44adb4 100644
--- a/server-unixsock.c
+++ b/server-unixsock.c
@@ -45,6 +45,7 @@
 #include "util-str.h"
 
 
+static int open_unixsock_obj_via_inotify(obj_t *unixsock);
 static size_t max_unixsock_dev_strlen(void);
 static int connect_unixsock_obj(obj_t *unixsock);
 static int disconnect_unixsock_obj(obj_t *unixsock);
@@ -140,6 +141,7 @@ obj_t * create_unixsock_obj(server_conf_t *conf, char 
*name, char *dev,
 unixsock->aux.unixsock.logfile = NULL;
 unixsock->aux.unixsock.timer = -1;
 unixsock->aux.unixsock.state = CONMAN_UNIXSOCK_DOWN;
+unixsock->aux.unixsock.isViaInotify = 0;
 unixsock->aux.unixsock.delay = UNIXSOCK_MIN_TIMEOUT;
 /*
  *  Add obj to the master conf->objs list.
@@ -147,7 +149,7 @@ obj_t * create_unixsock_obj(server_conf_t *conf, char 
*name, char *dev,
 list_append(conf->objs, unixsock);
 
 rv = inevent_add(unixsock->aux.unixsock.dev,
-(inevent_cb_f) open_unixsock_obj, unixsock);
+(inevent_cb_f) open_unixsock_obj_via_inotify, unixsock);
 if (rv < 0) {
 log_msg(LOG_INFO,
 "Console [%s] unable to register device \"%s\" for inotify events",
@@ -177,6 +179,23 @@ int open_unixsock_obj(obj_t *unixsock)
 }
 
 
+static int open_unixsock_obj_via_inotify(obj_t *unixsock)
+{
+/*  Opens the specified 'unixsock' obj via an inotify callback.
+ *  Returns 0 if the 

commit conman for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-07-21 10:24:59

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Sat Jul 21 10:24:59 2018 rev:9 rq:624089 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-03-09 
10:46:58.017876421 +0100
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-07-21 
10:25:00.862960475 +0200
@@ -1,0 +2,12 @@
+Wed Jul 18 13:08:03 UTC 2018 - e...@suse.com
+
+- If-connect-fails-let-other-side-accept-connection-and-come-back.patch:
+  Make sure conmand connects to a newly created UNIX socket with
+  minimal delay. The implementation uses inotify, however this triggers
+  when the other side bind()s to the socket, however a connection is
+  not possible until the other side calls listen().
+  Thus if the connection fails, reset the poll() timeout to return to
+  connect() as soon as possible (bsc#1101647).
+- Support %license in a backward compatible way.
+
+---

New:

  If-connect-fails-let-other-side-accept-connection-and-come-back.patch



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.V8obY8/_old  2018-07-21 10:25:01.558960306 +0200
+++ /var/tmp/diff_new_pack.V8obY8/_new  2018-07-21 10:25:01.558960306 +0200
@@ -48,7 +48,7 @@
 Release:0
 
 Summary:The Console Manager
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  System/Console
 Url:http://dun.github.io/conman/
 
@@ -69,6 +69,7 @@
 %endif
 
 Patch1: conman-suse-fix-expect-scripts.patch
+Patch2: 
If-connect-fails-let-other-side-accept-connection-and-come-back.patch
 
 # 8/15/14 karl.w.sch...@intel.com - include prereq
 %if 0%{?sles_version} || 0%{?suse_version}
@@ -93,6 +94,7 @@
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure --with-tcp-wrappers \
@@ -219,12 +221,18 @@
 %{restart_on_update conman}
 %endif
 
+%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
+%define files_license %license 
+%else 
+%define files_license %doc 
+%endif
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS
 %doc DISCLAIMER*
 %doc FAQ
-%doc COPYING
+%files_license COPYING
 %doc NEWS
 %doc README
 %doc PLATFORMS

++ If-connect-fails-let-other-side-accept-connection-and-come-back.patch 
++
From: Egbert Eich 
Date: Wed Jul 18 11:26:07 2018 +0200
Subject: If connect fails let other side accept connection and come back
Patch-mainline: Not yet
Git-commit: 1fc96affadb267bb03058293e9d31af95cfd6f2d
References: bsc#

The UNIX socket code uses inotify to get notified when a socket
it monitors appears. The inotify is triggered when the other side
does bind(). However, we are not able to connect until the other
side calls listen(). Therefore, we need to let the other side continue
if the connect fails and should come back at the earliest time to
attempt a connect() again.
For this we just reset the poll() delay.

Signed-off-by: Egbert Eich 
---
 server-unixsock.c | 22 ++
 1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/server-unixsock.c b/server-unixsock.c
index 152bd31..7302acf 100644
--- a/server-unixsock.c
+++ b/server-unixsock.c
@@ -46,8 +46,10 @@
 
 
 static size_t max_unixsock_dev_strlen(void);
+static int connect_unixsock_obj_int(obj_t *unixsock, int reset_delay);
 static int connect_unixsock_obj(obj_t *unixsock);
 static int disconnect_unixsock_obj(obj_t *unixsock);
+static int open_unixsock_obj_reset_delay(obj_t *unixsock);
 static void reset_unixsock_delay(obj_t *unixsock);
 
 extern tpoll_t tp_global;   /* defined in server.c */
@@ -147,7 +149,7 @@ obj_t * create_unixsock_obj(server_conf_t *conf, char 
*name, char *dev,
 list_append(conf->objs, unixsock);
 
 rv = inevent_add(unixsock->aux.unixsock.dev,
-(inevent_cb_f) open_unixsock_obj, unixsock);
+(inevent_cb_f) open_unixsock_obj_reset_delay, unixsock);
 if (rv < 0) {
 log_msg(LOG_INFO,
 "Console [%s] unable to register device \"%s\" for inotify events",
@@ -157,7 +159,7 @@ obj_t * create_unixsock_obj(server_conf_t *conf, char 
*name, char *dev,
 }
 
 
-int open_unixsock_obj(obj_t *unixsock)
+static int open_unixsock_obj_int(obj_t *unixsock, int reset_delay)
 {
 /*  (Re)opens the specified 'unixsock' obj.
  *  Returns 0 if the console is successfully opened; o/w, returns -1.
@@ -171,11 +173,18 @@ int open_unixsock_obj(obj_t *unixsock)
 rc = disconnect_unixsock_obj(unixsock);
 }
 else {
-rc = connect_unixsock_obj(unixsock);
+rc = 

commit conman for openSUSE:Factory

2018-03-09 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-03-09 10:46:56

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Fri Mar  9 10:46:56 2018 rev:8 rq:584536 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2018-02-18 
11:45:21.387156071 +0100
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-03-09 
10:46:58.017876421 +0100
@@ -1,0 +2,7 @@
+Thu Mar  8 20:14:50 UTC 2018 - e...@suse.com
+
+- Do not look for the ttyS* group - it should be dialout
+  always (boo#1084571).
+- Fix shebang - remove /usr/bin/env.
+
+---



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.qsNSfr/_old  2018-03-09 10:46:58.853846309 +0100
+++ /var/tmp/diff_new_pack.qsNSfr/_new  2018-03-09 10:46:58.857846165 +0100
@@ -131,6 +131,8 @@
  fi
   fi
 done
+sed -i -e '1 s@#!.*/bin/env perl@#!%{_bindir}/perl@' \
+%{buildroot}%{_bindir}/conmen
 
 %if 0%{?conmandir:1}
 mkdir -p %{buildroot}%{_tmpfilesdir}
@@ -161,16 +163,13 @@
 %define conman_home "%_localstatedir%_rundir/%conmandir"
 %define conman_descr "Connection Manager service"
 shopt -s nullglob
-for i in /dev/ttyS[0-9] /dev/ttyS[1-9][0-9]
-do TTYS_GRP=$(stat --format="%G" $i); break 
-done
 addgrp=0; addusr=0
 getent group %conman_g >/dev/null || addgrp=1
 [ $addgrp -eq 1 ] && groupadd -r %conman_g
 getent passwd %conman_u >/dev/null || addusr=1
 [ $addusr -eq 1 ] && useradd -r -g %conman_g -d %conman_home \
 -s /bin/false -c %conman_descr %conman_u
-[ -n "$TTYS_GRP" ] && usermod -a -G $TTYS_GRP %conman_u
+usermod -a -G dialout %conman_u
 %endif
 exit 0
 %endif




commit conman for openSUSE:Factory

2018-02-18 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-02-18 11:45:19

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Sun Feb 18 11:45:19 2018 rev:7 rq:577587 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-12-06 
08:58:26.077324422 +0100
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2018-02-18 
11:45:21.387156071 +0100
@@ -1,0 +2,17 @@
+Fri Feb 16 13:15:00 UTC 2018 - e...@suse.com
+
+- Add the conman user to the group of the ttyS* devices
+  (boo#1081217).
+- Only update config file for new user once, save backup
+  copy.
+
+---
+Wed Jan 10 19:27:27 UTC 2018 - e...@suse.com
+
+- Fix conman for non-root user:
+  * create rundir
+  * create logdir
+  * set user/group only when set to non-root
+  * fix rundir and logdir in config file on update (boo#1081217).
+
+---
@@ -31,0 +49 @@
+  (FATE#324170).



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.txF1JF/_old  2018-02-18 11:45:22.307123045 +0100
+++ /var/tmp/diff_new_pack.txF1JF/_new  2018-02-18 11:45:22.307123045 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package conman
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 
 %if 0%{?have_systemd}
  %if 0%{?sle_version} >= 15 || 0%{?is_opensuse}
+  %define conmandir conman/
   %define conman_g %name
   %define conman_u %name
  %else
@@ -130,14 +131,21 @@
  fi
   fi
 done
+
+%if 0%{?conmandir:1}
+mkdir -p %{buildroot}%{_tmpfilesdir}
+cat >> %{buildroot}%{_tmpfilesdir}/%{name}.conf < /dev/null; then
 cat <> %{buildroot}/etc/conman.conf
 SERVER keepalive=ON
-SERVER logdir="/var/log/conman"
-SERVER logfile="/var/log/conman.log"
+SERVER logdir="/var/log/%{conmandir}"
+SERVER logfile="/var/log/%{conmandir}conman.log"
 SERVER loopback=ON
-SERVER pidfile="/var/run/conman.pid"
-SERVER resetcmd="powerman -0 %N; sleep 3; powerman -1 %N"
+SERVER pidfile="/var/run/%{conmandir}conman.pid"
 SERVER tcpwrappers=ON
 SERVER timestamp=1h
 GLOBAL seropts="115200,8n1"
@@ -149,10 +157,21 @@
 %if 0%{?have_systemd}
 %pre
 %service_add_pre conman.service
-%define conman_home "%_localstatedir%_rundir/conman"
+%if 0%{?conmandir:1}
+%define conman_home "%_localstatedir%_rundir/%conmandir"
 %define conman_descr "Connection Manager service"
-getent group %conman_g >/dev/null || groupadd -r %conman_g
-getent passwd %conman_u >/dev/null || useradd -r -g %conman_g -d %conman_home 
-s /bin/false -c %conman_descr %conman_u
+shopt -s nullglob
+for i in /dev/ttyS[0-9] /dev/ttyS[1-9][0-9]
+do TTYS_GRP=$(stat --format="%G" $i); break 
+done
+addgrp=0; addusr=0
+getent group %conman_g >/dev/null || addgrp=1
+[ $addgrp -eq 1 ] && groupadd -r %conman_g
+getent passwd %conman_u >/dev/null || addusr=1
+[ $addusr -eq 1 ] && useradd -r -g %conman_g -d %conman_home \
+-s /bin/false -c %conman_descr %conman_u
+[ -n "$TTYS_GRP" ] && usermod -a -G $TTYS_GRP %conman_u
+%endif
 exit 0
 %endif
 
@@ -164,13 +183,38 @@
 %endif
 
 %post
+%define migrated conman_user_migrated
 %fillup_only conman
 %if 0%{?have_systemd}
+%{?tmpfiles_create:%{tmpfiles_create %{_tmpfilesdir}/%{name}.conf}}
 %service_add_post conman.service
+[ -d %_localstatedir/lib/conman ] || mkdir %_localstatedir/lib/conman || :
+if [ $1 -eq 2 -a ! -e %_localstatedir/lib/conman/%migrated ]; then
+tmpfile=$(mktemp /tmp/tmp-)
+sed  -e "s@^\(server\)\|\(SERVER\) \+logdir=.*@SERVER 
logdir=\"/var/log/%{conmandir}\"@" \
+   -e "s@^\(server\)\|\(SERVER\) \+logfile=.*@SERVER 
logfile=\"/var/log/%{conmandir}conman.log\"@" \
+   -e "s@^\(server\)\|\(SERVER\) \+pidfile=.*@SERVER 
pidfile=\"/var/run/%{conmandir}conman.pid\"@" \
+   < /etc/conman.conf > $tmpfile
+if ! cmp /etc/conman.conf $tmpfile; then
+   mv /etc/conman.conf /etc/conman.conf.rpmsave
+   mv $tmpfile /etc/conman.conf
+   chown %conman_u:%conman_g /etc/conman.conf
+   cat > 
%_localstatedir/adm/update-messages/%{name}-%{version}-%{release}-%{name}.txt 
<

commit conman for openSUSE:Factory

2017-12-05 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2017-12-06 08:58:24

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Wed Dec  6 08:58:24 2017 rev:6 rq:546487 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-10-09 
19:48:45.662160219 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2017-12-06 
08:58:26.077324422 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:54:08 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.csDW3e/_old  2017-12-06 08:58:27.033289430 +0100
+++ /var/tmp/diff_new_pack.csDW3e/_new  2017-12-06 08:58:27.037289284 +0100
@@ -17,6 +17,11 @@
 
 
 #
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %if 0%{?suse_version} > 1140
 %define have_systemd 1
  %ifarch x86_64
@@ -112,9 +117,9 @@
 ln -s %{_sysconfdir}/init.d/conman %{buildroot}%{_sbindir}/rcconman
 chmod u+x %{buildroot}%{_sysconfdir}/init.d/conman
 %endif
-mkdir -p %{buildroot}/var/adm/fillup-templates
+mkdir -p %{buildroot}%{_fillupdir}
 mv %{buildroot}%{_sysconfdir}/sysconfig/conman \
-%{buildroot}/var/adm/fillup-templates/sysconfig.conman
+%{buildroot}%{_fillupdir}/sysconfig.conman
 for i in $(find %{buildroot}/usr/lib/conman) ; do
   if [ -f $i -a -x $i ]; then
  if ! head -1 $i | grep "^#!"; then
@@ -184,7 +189,7 @@
 %doc THANKS
 %config(noreplace) %attr(-,%conman_u,%conman_g) %{_sysconfdir}/conman.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/conman
-%{_localstatedir}/adm/fillup-templates/sysconfig.conman
+%{_fillupdir}/sysconfig.conman
 %{_bindir}/*
 %{_sbindir}/*
 %{_prefix}/lib/conman




commit conman for openSUSE:Factory

2017-10-09 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2017-10-09 19:47:06

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Mon Oct  9 19:47:06 2017 rev:5 rq:532666 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-10-07 
17:51:36.060836558 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2017-10-09 
19:48:45.662160219 +0200
@@ -1,0 +2,6 @@
+Mon Oct  9 06:39:12 UTC 2017 - e...@suse.com
+
+- Set usr/group for conman to root/root on SLE12 for backward
+  compatibility.
+
+---

Old:

  conman.service

New:

  conman.service.in



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.lMP7qf/_old  2017-10-09 19:48:46.298132268 +0200
+++ /var/tmp/diff_new_pack.lMP7qf/_new  2017-10-09 19:48:46.302132092 +0200
@@ -25,8 +25,13 @@
 %endif
 
 %if 0%{?have_systemd}
+ %if 0%{?sle_version} >= 15 || 0%{?is_opensuse}
  %define conman_g %name
  %define conman_u %name
+ %else
+  %define conman_g root
+  %define conman_u root
+ %endif
 %else
  %define conman_g root
  %define conman_u daemon
@@ -49,7 +54,7 @@
 BuildRequires:  freeipmi-devel
 %endif
 Source0:https://github.com/dun/conman/archive/%{name}-%{version}.tar.gz
-Source1:%{name}.service
+Source1:%{name}.service.in
 %if 0%{?have_systemd}
 BuildRequires:  systemd
 BuildRequires:  systemd-rpm-macros
@@ -95,7 +100,9 @@
 %make_install
 
 %if 0%{?have_systemd}
-install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
+mkdir -p %{buildroot}%{_unitdir}
+sed -e "s/@conman_u@/%conman_u/" -e "s/@conman_g@/%conman_g/" <%{SOURCE1} 
>%{buildroot}%{_unitdir}/%{name}.service
+chmod 0644 %{buildroot}%{_unitdir}/%{name}.service
 rm -rf %{buildroot}%{_sysconfdir}/init.d
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcconman
 %else

++ conman.service.in ++
[Unit]
Description=ConMan Console Management Daemon
After=network.target

[Service]
Type=forking
User=@conman_u@
Group=@conman_g@
ExecStart=/usr/sbin/conmand -c /etc/conman.conf

[Install]
WantedBy=multi-user.target



commit conman for openSUSE:Factory

2017-10-07 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2017-10-07 17:51:34

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Sat Oct  7 17:51:34 2017 rev:4 rq:532246 version:0.2.8

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-08-16 
16:18:30.137053494 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2017-10-07 
17:51:36.060836558 +0200
@@ -1,0 +2,20 @@
+Fri Oct  6 13:59:27 UTC 2017 - e...@suse.com
+
+- Updated to version 0.2.8:
+  * Changed project homepage to . (#21)
+  * Changed conman.conf default loopback setting to ON.
+  * Changed rpm spec file from sysvinit to systemd.
+  * Added 'server nofile' config directive to increase NOFILE limit. (#17)
+  * Added '-P' cmdline opt to daemon for specifying pidfile. (#20)
+  * Added test console device to aid in development and testing.
+  * Fixed telnet option negotiation loop. (#9)
+  * Fixed arbitrary limit on number of IPMI SOL consoles. (#15)
+  * Fixed 4-character limit on timezones. (#16)
+  * Fixed 1-second delay when connecting the client to a console.
+  * Fixed UDS console reconnect delay to use exponential timeout.
+  * Fixed UDS console reconnect delay to require min connect time before reset.
+  * Fixed UDS console resource leak of pathname during config processing.
+  * Fixed all gcc, clang, and Coverity Scan warnings.
+  * Improved scalability of daemon.
+
+---

Old:

  conman-0.2.7.tar.bz2

New:

  conman-0.2.8.tar.gz



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.62wnxU/_old  2017-10-07 17:51:36.00160 +0200
+++ /var/tmp/diff_new_pack.62wnxU/_new  2017-10-07 17:51:36.892799984 +0200
@@ -33,7 +33,7 @@
 %endif
 
 Name:   conman
-Version:0.2.7
+Version:0.2.8
 Release:0
 
 Summary:The Console Manager
@@ -48,7 +48,7 @@
 %if 0%{?have_freeipmi}
 BuildRequires:  freeipmi-devel
 %endif
-Source0:
https://github.com/dun/conman/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
+Source0:https://github.com/dun/conman/archive/%{name}-%{version}.tar.gz
 Source1:%{name}.service
 %if 0%{?have_systemd}
 BuildRequires:  systemd
@@ -80,7 +80,7 @@
   - broadcasting client output to multiple consoles
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{name}-%{version}
 %patch1 -p1
 
 %build
@@ -167,12 +167,13 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS
-%doc ChangeLog
-%doc COPYING
 %doc DISCLAIMER*
 %doc FAQ
+%doc COPYING
 %doc NEWS
 %doc README
+%doc PLATFORMS
+%doc README.md
 %doc THANKS
 %config(noreplace) %attr(-,%conman_u,%conman_g) %{_sysconfdir}/conman.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/conman

++ conman-suse-fix-expect-scripts.patch ++
--- /var/tmp/diff_new_pack.62wnxU/_old  2017-10-07 17:51:36.936798050 +0200
+++ /var/tmp/diff_new_pack.62wnxU/_new  2017-10-07 17:51:36.940797874 +0200
@@ -2,7 +2,7 @@
 ===
 --- conman-0.2.7.orig/lib/exec/ssh.exp
 +++ conman-0.2.7/lib/exec/ssh.exp
-@@ -168,7 +168,7 @@ expect {
+@@ -166,7 +166,7 @@ expect {
  }
  exp_continue -continue_timer
}
@@ -11,7 +11,7 @@
  if {$authenticated == 0} {
send "$pswd\r"
incr authenticated
-@@ -178,7 +178,7 @@ expect {
+@@ -176,7 +176,7 @@ expect {
exit 1
  }
}




commit conman for openSUSE:Factory

2017-08-16 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2017-08-16 16:18:28

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Wed Aug 16 16:18:28 2017 rev:3 rq:516898 version:0.2.7

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-06-12 
15:28:28.573832416 +0200
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2017-08-16 
16:18:30.137053494 +0200
@@ -1,0 +2,20 @@
+Mon Aug 14 13:42:48 UTC 2017 - e...@suse.com
+
+- Enable tcpwrappers on all platforms by default.
+- Fix systemd-specific conditionals in spec file.
+- Remove Provides: group/user(): these are only
+  used by conman, there is no intention to provide
+  them to other packages.
+
+---
+Sat Jun  3 01:50:39 UTC 2017 - jjo...@suse.com
+
+- conman service configured to start as conman:conman user
+
+---
+Fri Jun  2 23:01:00 UTC 2017 - jjo...@suse.com
+
+- conman-suse-fix-expect-scripts.patch:
+  Fixed ssh expect script for SUSE-specific output.
+
+---

New:

  conman-suse-fix-expect-scripts.patch



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.pJkTqB/_old  2017-08-16 16:18:31.188905847 +0200
+++ /var/tmp/diff_new_pack.pJkTqB/_new  2017-08-16 16:18:31.188905847 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package conman
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,6 +14,9 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
+#
 %if 0%{?suse_version} > 1140
 %define have_systemd 1
  %ifarch x86_64
@@ -21,14 +24,22 @@
  %endif
 %endif
 
+%if 0%{?have_systemd}
+ %define conman_g %name
+ %define conman_u %name
+%else
+ %define conman_g root
+ %define conman_u daemon
+%endif
+
 Name:   conman
 Version:0.2.7
 Release:0
 
 Summary:The Console Manager
-Group:  System/Console
 License:GPL-3.0+
-URL:http://dun.github.io/conman/
+Group:  System/Console
+Url:http://dun.github.io/conman/
 
 Requires:   expect
 Requires:   logrotate
@@ -38,10 +49,16 @@
 BuildRequires:  freeipmi-devel
 %endif
 Source0:
https://github.com/dun/conman/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
-%if 0%{?have_systemd}
 Source1:%{name}.service
+%if 0%{?have_systemd}
+BuildRequires:  systemd
+BuildRequires:  systemd-rpm-macros
+%{?systemd_requires}
+Requires(pre):  shadow
 %endif
 
+Patch1: conman-suse-fix-expect-scripts.patch
+
 # 8/15/14 karl.w.sch...@intel.com - include prereq
 %if 0%{?sles_version} || 0%{?suse_version}
 PreReq: %{fillup_prereq}
@@ -64,6 +81,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p1
 
 %build
 %configure --with-tcp-wrappers \
@@ -108,7 +126,7 @@
 SERVER loopback=ON
 SERVER pidfile="/var/run/conman.pid"
 SERVER resetcmd="powerman -0 %N; sleep 3; powerman -1 %N"
-SERVER tcpwrappers=%{?is_opensuse:OFF}%{!?is_opensuse:ON}
+SERVER tcpwrappers=ON
 SERVER timestamp=1h
 GLOBAL seropts="115200,8n1"
 GLOBAL log="console.%N"
@@ -116,9 +134,14 @@
 EOF
 fi
 
-%pre
 %if 0%{?have_systemd}
+%pre
 %service_add_pre conman.service
+%define conman_home "%_localstatedir%_rundir/conman"
+%define conman_descr "Connection Manager service"
+getent group %conman_g >/dev/null || groupadd -r %conman_g
+getent passwd %conman_u >/dev/null || useradd -r -g %conman_g -d %conman_home 
-s /bin/false -c %conman_descr %conman_u
+exit 0
 %endif
 
 %preun
@@ -151,7 +174,7 @@
 %doc NEWS
 %doc README
 %doc THANKS
-%config(noreplace) %{_sysconfdir}/conman.conf
+%config(noreplace) %attr(-,%conman_u,%conman_g) %{_sysconfdir}/conman.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/conman
 %{_localstatedir}/adm/fillup-templates/sysconfig.conman
 %{_bindir}/*
@@ -163,3 +186,5 @@
 %{_sysconfdir}/init.d/*
 %endif
 %{_mandir}/*/*
+
+%changelog

++ conman-suse-fix-expect-scripts.patch ++
Index: conman-0.2.7/lib/exec/ssh.exp
===
--- conman-0.2.7.orig/lib/exec/ssh.exp
+++ conman-0.2.7/lib/exec/ssh.exp
@@ -168,7 +168,7 @@ expect {
 }
 exp_continue -continue_timer
   }
-  -re "^$user@.* password: \$" {
+  -re "^.assword: \$" {
 if {$authenticated == 0} {
   send "$pswd\r"
   incr authenticated
@@ -178,7 

commit conman for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2017-06-12 15:28:24

Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and  /work/SRC/openSUSE:Factory/.conman.new (New)


Package is "conman"

Mon Jun 12 15:28:24 2017 rev:2 rq:498655 version:0.2.7

Changes:

--- /work/SRC/openSUSE:Factory/conman/conman.changes2017-03-04 
16:44:56.158189484 +0100
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes   2017-06-12 
15:28:28.573832416 +0200
@@ -1,0 +2,5 @@
+Mon May  8 10:51:34 UTC 2017 - e...@suse.com
+
+- conman.conf: make differences between openSUSE and SLES explicit.
+
+---



Other differences:
--
++ conman.spec ++
--- /var/tmp/diff_new_pack.YoFc2R/_old  2017-06-12 15:28:29.121755143 +0200
+++ /var/tmp/diff_new_pack.YoFc2R/_new  2017-06-12 15:28:29.125754579 +0200
@@ -108,7 +108,7 @@
 SERVER loopback=ON
 SERVER pidfile="/var/run/conman.pid"
 SERVER resetcmd="powerman -0 %N; sleep 3; powerman -1 %N"
-SERVER tcpwrappers=OFF
+SERVER tcpwrappers=%{?is_opensuse:OFF}%{!?is_opensuse:ON}
 SERVER timestamp=1h
 GLOBAL seropts="115200,8n1"
 GLOBAL log="console.%N"