Bug#372280: [Pkg-shadow-devel] Bug#372280: adduser fails: configuration error - unknown item
On Fri, 9 Jun 2006 22:30:48 +0200 Christian Perrier [EMAIL PROTECTED] wrote: And each time such bug has been reported to login/passwd, it has been immediately closed as feature not bug. This message is a warning about deprecated options in /etc/login.defs and is perfectly intended. So, actually, users should do what's adviced: warn the system administrator so that s/he fixes the deprecacted options in login.defs That would be a lot easier if the error message actually referenced /etc/login.defs . As it is now, there is absolutely no indication of where these parameters may be found, so if you don't already know, you're out of luck. As for fixing the deprecated options, they're included in the version of login from the current stable archive. If the already existing version dependency in newer versions of passwd were updated to reflect this, the whole problem would just go away. -- Ian Bruce ---BeginMessage--- On Fri, 9 Jun 2006 10:57:57 +0100 Stephen Gran [EMAIL PROTECTED] wrote: This one time, at band camp, Ian Bruce said: adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. You have these directives set in /etc/login.defs. My understanding is that they have been deprecated for some time, but now they create a warning message. This is not a bug in adduser (in fact, I'm not sure it's a bug at all - programs do change the acceptable options in their conf files over time, and it's not a good idea to automatedly overwrite an edited config file on upgrade). Others, I leave it to you whether or not you want to reassign this to login (the package responsible for login.defs) or just close it. I can see arguments both ways. The version of login on this system is 1:4.0.3-31sarge5 (current stable archive). I have not edited /etc/login.defs since installing the operating system. I suggest that a conflict, or an updated version dependency, be put in the passwd package to prevent this problem, since it's apparently the one that no longer recognizes these parameters. It's pretty alarming if you don't know what the cause of it is; it barfs up these errors every time apt-get tries to create a system userid. It might also be a good idea to change the error message to refer to the login.defs file which is causing the problem; if this had been the case, I could have figured it out for myself. The program /usr/sbin/useradd contains the following string (as do several others from this package): configuration error - unknown item '%s' (notify administrator) How about changing that to: configuration error - unknown item '%s' in file '%s' (notify administrator) -- Ian Bruce ---End Message---
Bug#372280: [Pkg-shadow-devel] Bug#372280: adduser fails: configuration error - unknown item
Quoting Tomasz K�oczko ([EMAIL PROTECTED]): Dnia 12-06-2006, pon o godzinie 11:41 +0200, Christian Perrier napisa�(a): Tomasz, do you think it could be OK for you to add a reference to /etc/login.defs in the warning message about deprecated options in that file ? Unconditionally ? .. probably not but make this functionality Well, actually, it is, unless I'm wrong, unconditional. signature.asc Description: Digital signature
Bug#372280: [Pkg-shadow-devel] Bug#372280: adduser fails: configuration error - unknown item
That would be a lot easier if the error message actually referenced /etc/login.defs . As it is now, there is absolutely no indication of Tomasz, do you think it could be OK for you to add a reference to /etc/login.defs in the warning message about deprecated options in that file ? where these parameters may be found, so if you don't already know, you're out of luck. As for fixing the deprecated options, they're included in the version of login from the current stable archive. If the already existing version dependency in newer versions of passwd were updated to reflect this, the whole problem would just go away. Hmmm, I'm not sure it would as /etc/login.defs is a configuration file. Actually, that file will be replaced silently is it has never been changed by the local adminso the problem will disappear. But, if the file has been changed, it will never be replaced and then updating it is left to the local admin. So, part from the warning message wording change, I'm not sure we can do much more. signature.asc Description: Digital signature
Bug#372280: [Pkg-shadow-devel] Bug#372280: adduser fails: configuration error - unknown item
On Mon, 12 Jun 2006 11:41:00 +0200 Christian Perrier [EMAIL PROTECTED] wrote: As for fixing the deprecated options, they're included in the version of login from the current stable archive. If the already existing version dependency in newer versions of passwd were updated to reflect this, the whole problem would just go away. Hmmm, I'm not sure it would as /etc/login.defs is a configuration file. Actually, that file will be replaced silently is it has never been changed by the local adminso the problem will disappear. But, if the file has been changed, it will never be replaced and then updating it is left to the local admin. So, part from the warning message wording change, I'm not sure we can do much more. The file will only get replaced when the login package is upgraded. Updating the version dependency in passwd will ensure that this happens. Even if the administrator has edited the file, apt-get will give them the option of replacing it, as well as the option of reviewing the differences between the current and new versions. As things are now, unless you already know where these deprecated parameters are coming from, there is no indication of what the cause of the problem is. Changing the version dependency in passwd will automatically make administrators aware of the issue, after which fixing the problem is trivial. Then you won't need to have any more discussions with people to explain what the source of the problem is. -- Ian Bruce -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: adduser fails: configuration error - unknown item
On Mon, Jun 12, 2006 at 04:12:50AM -0700, Ian Bruce wrote: As things are now, unless you already know where these deprecated parameters are coming from, there is no indication of what the cause of the problem is. There is an indication in the NEWS.Debian file distributed with the passwd package. Regarding the login dependency, there is already a dependency on login in the passwd package (login (= 970502-1)). I don't know if a strongest dependency (on a more recent login) will be harmful. Kind Regards, -- Nekral -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: adduser fails: configuration error - unknown item
Package: adduser Version: 3.87 adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. related packages: passwd : v1:4.0.15-10 debconf : v1.5.1 The first example below shows adduser being invoked directly from the command line. The other two examples show the same problem occurring when apt-get tries to create system userids while installing other packages. -- Ian Bruce --- # adduser gdubya Adding user `gdubya'... Adding new group `gdubya' (1002). configuration error - unknown item 'FAIL_DELAY' (notify administrator) configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'PASS_MAX_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) Adding new user `gdubya' (1002) with group `gdubya'. configuration error - unknown item 'FAIL_DELAY' (notify administrator) configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'PASS_MAX_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) --- Setting up nfs-common (1.0.7-17) ... Installing new version of config file /etc/init.d/nfs-common ... Installing new version of config file /etc/default/nfs-common ... Adding system user `statd'... Adding new user `statd' (110) with group `nogroup'. configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'PASS_MAX_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) --- Setting up gdm (2.14.5-1) ... Adding group `gdm' (107)... configuration error - unknown item 'FAIL_DELAY' (notify administrator) configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'PASS_MAX_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) Done. adduser: Warning: The home dir you specified already exists. Adding system user `gdm' with uid 104... Adding new user `gdm' (104) with group `gdm'. configuration error - unknown item 'FAIL_DELAY' (notify administrator) configuration error - unknown item 'QUOTAS_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) configuration error - unknown item 'ENV_HZ' (notify administrator) configuration error - unknown item 'PASS_MAX_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator) configuration error - unknown item 'CLOSE_SESSIONS' (notify administrator) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: adduser fails: configuration error - unknown item
reassign #372280 shadow thanks On Fri, Jun 09, 2006 at 02:03:56AM -0700, Ian Bruce wrote: adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. related packages: passwd : v1:4.0.15-10 debconf : v1.5.1 configuration error - unknown item 'FAIL_DELAY' (notify administrator) The string cannot be found in adduser, but in shadow. I suspect that there is something wrong with your /etc/login.defs file. I'll reassign to shadow for more detailed analysis. Shadow team, if I am wrong and the error is really in adduser, please reassign back. Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: [Adduser-devel] Bug#372280: adduser fails: configuration error - unknown item
This one time, at band camp, Ian Bruce said: adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. You have these directives set in /etc/login.defs. My understanding is that they have been deprecated for some time, but now they create a warning message. This is not a bug in adduser (in fact, I'm not sure it's a bug at all - programs do change the acceptable options in their conf files over time, and it's not a good idea to automatedly overwrite an edited config file on upgrade). Others, I leave it to you whether or not you want to reassign this to login (the package responsible for login.defs) or just close it. I can see arguments both ways. Take care, -- - | ,''`.Stephen Gran | | : :' :[EMAIL PROTECTED] | | `. `'Debian user, admin, and developer | |`- http://www.debian.org | - signature.asc Description: Digital signature
Bug#372280: adduser fails: configuration error - unknown item
On Fri, 9 Jun 2006 10:57:57 +0100 Stephen Gran [EMAIL PROTECTED] wrote: This one time, at band camp, Ian Bruce said: adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. You have these directives set in /etc/login.defs. My understanding is that they have been deprecated for some time, but now they create a warning message. This is not a bug in adduser (in fact, I'm not sure it's a bug at all - programs do change the acceptable options in their conf files over time, and it's not a good idea to automatedly overwrite an edited config file on upgrade). Others, I leave it to you whether or not you want to reassign this to login (the package responsible for login.defs) or just close it. I can see arguments both ways. The version of login on this system is 1:4.0.3-31sarge5 (current stable archive). I have not edited /etc/login.defs since installing the operating system. I suggest that a conflict, or an updated version dependency, be put in the passwd package to prevent this problem, since it's apparently the one that no longer recognizes these parameters. It's pretty alarming if you don't know what the cause of it is; it barfs up these errors every time apt-get tries to create a system userid. It might also be a good idea to change the error message to refer to the login.defs file which is causing the problem; if this had been the case, I could have figured it out for myself. The program /usr/sbin/useradd contains the following string (as do several others from this package): configuration error - unknown item '%s' (notify administrator) How about changing that to: configuration error - unknown item '%s' in file '%s' (notify administrator) -- Ian Bruce -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: adduser fails: configuration error - unknown item
On Fri, Jun 09, 2006 at 02:00:13PM +0100, Stephen Gran wrote: I suggest opening that bug on passwd, then. This bug is already reassigned to the appropriate package. Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372280: adduser fails: configuration error - unknown item
This one time, at band camp, Ian Bruce said: On Fri, 9 Jun 2006 10:57:57 +0100 Stephen Gran [EMAIL PROTECTED] wrote: This one time, at band camp, Ian Bruce said: adduser produces a lot of error messages about unrecognized parameters, which may or may not be harmless. This may indicate a conflict with some version of another package, but it's not clear to me which one. You have these directives set in /etc/login.defs. My understanding is that they have been deprecated for some time, but now they create a warning message. This is not a bug in adduser (in fact, I'm not sure it's a bug at all - programs do change the acceptable options in their conf files over time, and it's not a good idea to automatedly overwrite an edited config file on upgrade). Others, I leave it to you whether or not you want to reassign this to login (the package responsible for login.defs) or just close it. I can see arguments both ways. The version of login on this system is 1:4.0.3-31sarge5 (current stable archive). I have not edited /etc/login.defs since installing the operating system. I suggest that a conflict, or an updated version dependency, be put in the passwd package to prevent this problem, since it's apparently the one that no longer recognizes these parameters. I suggest opening that bug on passwd, then. It's pretty alarming if you don't know what the cause of it is; it barfs up these errors every time apt-get tries to create a system userid. It's clearly passwd and login. That was never in question. It's just that it's not a bug in adduser itself, since adduser only uses these others. It's quite a noisy and alarming looking message, but since it has no side effects, I haven't been particualrly bothered by it. Please take it up with the passwd and login maintainers if you disagree. It might also be a good idea to change the error message to refer to the login.defs file which is causing the problem; if this had been the case, I could have figured it out for myself. The program /usr/sbin/useradd contains the following string (as do several others from this package): configuration error - unknown item '%s' (notify administrator) How about changing that to: configuration error - unknown item '%s' in file '%s' (notify administrator) Please note that in your bug report to passwd. -- - | ,''`.Stephen Gran | | : :' :[EMAIL PROTECTED] | | `. `'Debian user, admin, and developer | |`- http://www.debian.org | - signature.asc Description: Digital signature