Skip Menu |
 

From: Karl-Philipp Richter <krichter@posteo.de>
Subject: Improve error message "kadmind: No such file or directory while initializing, aborting"
To: krb5-bugs@mit.edu
Date: Mon, 7 Mar 2016 14:37:25 +0100
From: Karl-Philipp Richter <krichter@posteo.de>
To: krb5-bugs@mit.edu
Subject: Improve error message "kadmind: No such file or directory while initializing, aborting"
The error message `kadmind: No such file or directory while
initializing, aborting` displayed for unknown reasons should be
enhanced by providing the path of the file it references, e.g.
`kadmind: 'No such file or directory' while opening file
'/path/to/file' with '[r/w/x]' access as user 'user' while
initializing [what? the program itself, a dependen, aborting`.

It is pretty obvious that the error message is sadist causing the user
to start guessing or being obliged to unnecessarily
read the manual which always indicates a design error. Consider
reviewing code submission and test standards to avoid future inclusion
of such poor feedback in the code.

experienced with 0533ebf
Download signature.asc
application/pgp-signature 473B

Message body not shown because it is not plain text.

From: ghudson@mit.edu
Subject: git commit

Simplify EFTYPE checking in db2 KDB module

Create a new macro IS_EFTYPE in policy_db.h, and use it to avoid
preprocessor conditionals in open_db() and osa_adb_open_and_lock().

https://github.com/krb5/krb5/commit/b572a01b6295fd816a5785a4cd0f5243a360caba
Author: Greg Hudson <ghudson@mit.edu>
Commit: b572a01b6295fd816a5785a4cd0f5243a360caba
Branch: master
src/plugins/kdb/db2/adb_openclose.c | 8 ++------
src/plugins/kdb/db2/kdb_db2.c | 7 +------
src/plugins/kdb/db2/policy_db.h | 8 ++++++++
3 files changed, 11 insertions(+), 12 deletions(-)
From: ghudson@mit.edu
Subject: git commit

Improve errors when DB2 database cannot be opened

When we cannot open a DB2 database, set a useful error message.
Change the signature of open_db() to to allow it to return an error
code with a message set.

https://github.com/krb5/krb5/commit/cc4f73992ec54b568c20a7f34e75f8c831dea2c9
Author: Greg Hudson <ghudson@mit.edu>
Commit: cc4f73992ec54b568c20a7f34e75f8c831dea2c9
Branch: master
src/plugins/kdb/db2/kdb_db2.c | 50 +++++++++++++++++++++-------------------
1 files changed, 26 insertions(+), 24 deletions(-)
Not back porting this to krb5-1.13 for now due to lack of k5_prependmsg().
From: tlyu@mit.edu
Subject: git commit

Simplify EFTYPE checking in db2 KDB module

Create a new macro IS_EFTYPE in policy_db.h, and use it to avoid
preprocessor conditionals in open_db() and osa_adb_open_and_lock().

(cherry picked from commit b572a01b6295fd816a5785a4cd0f5243a360caba)

https://github.com/krb5/krb5/commit/0b7c9417ab0f95b380dba3fd53432b68f4daf737
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 0b7c9417ab0f95b380dba3fd53432b68f4daf737
Branch: krb5-1.14
src/plugins/kdb/db2/adb_openclose.c | 8 ++------
src/plugins/kdb/db2/kdb_db2.c | 7 +------
src/plugins/kdb/db2/policy_db.h | 8 ++++++++
3 files changed, 11 insertions(+), 12 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Improve errors when DB2 database cannot be opened

When we cannot open a DB2 database, set a useful error message.
Change the signature of open_db() to to allow it to return an error
code with a message set.

(cherry picked from commit cc4f73992ec54b568c20a7f34e75f8c831dea2c9)

https://github.com/krb5/krb5/commit/8c2a7baf4f422bc0cc6dcb5507207c4191fd7f1e
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 8c2a7baf4f422bc0cc6dcb5507207c4191fd7f1e
Branch: krb5-1.14
src/plugins/kdb/db2/kdb_db2.c | 50 +++++++++++++++++++++-------------------
1 files changed, 26 insertions(+), 24 deletions(-)