Note: right now I don't have Ubuntu at hand to verify what I write
below, read accordingly...

About dependencies: There are a lot of explicit dependencies for
essential packages, why is depending on login an exception? Actually
almost all dependencies on essential packages are listed, as login was
the only one I had to figure out the hard way made a bit harder by the
unclear error message. Alternatively, are those other dependencies
something that should be removed to keep things consistent?

About "the other issue", removing files provided by login package from
/etc and then doing 'shadowconfig on' should repeat the unhelpful
error message, and running just grpck should give no output and
presumably non-zero exit code. Wild guess: grpck exits with no output
if the file is missing, which should never happen if login package is
already installed. A minor bug for sure, but is it worth fixing, I
don't know.

2009/11/24 Nicolas François <nicolas.franc...@centraliens.net>:
> login is an essential package. There is no need to depend on it.
>
> Regarding the other issue, would you have some sample group and gshadow file?
> (make sure they do not contain any sensitive information before posting them 
> here.
>
> --
> Missing dependency to login
> https://bugs.launchpad.net/bugs/487448
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “shadow” package in Ubuntu: New
>
> Bug description:
> Karmic package passwd 1:4.1.4.1-1ubuntu2
> Installation depends on login, otherwise 'grpck' command in 
> /sbin/shadowconfig script fails.
>
> Fix: add login as dependency. I don't know if the correct place is this 
> package, or some of the packages this one depends on.
>
> Related nit-picking: /sbin/shadowconfig assumes grpck would print an error 
> message, but it doesn't. As a result the only error message is more mocking 
> than helpful "Please correct the error and rerun" and nothing else. Probably 
> should be fixed in grpck source, so it would print something and not fail 
> quietly.
>

-- 
Missing dependency to login
https://bugs.launchpad.net/bugs/487448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to