Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Manauser bug #4

Closed
ozky opened this issue May 5, 2016 · 12 comments
Closed

Manauser bug #4

ozky opened this issue May 5, 2016 · 12 comments

Comments

@ozky
Copy link

ozky commented May 5, 2016

Manauser suffers bug cause invalid contents of lock /etc/shadow.lock caused by libuser.
Mcc have this bug too,mcc won't crash but manatools crash because of this bug.
https://bugs.mageia.org/show_bug.cgi?id=16668

@ozky
Copy link
Author

ozky commented Jun 27, 2016

Bug still exist in Mageia 6 sta 1 it's fixed in mcc but not in manatools it leads manauser to crash.

@anaselli
Copy link
Collaborator

anaselli commented Jul 1, 2016

Sorry i was far and could not work so much on anything but my job.
Could you please add some steps to reproduce this? Do I need to install a system from scratch?

@ozky
Copy link
Author

ozky commented Jul 1, 2016

Start manatools edit user add user to new group and it will crash.

@anaselli
Copy link
Collaborator

anaselli commented Jul 2, 2016

Sorry i seem i cannot reproduce it. I tried:

  • add new user (ok)
  • add it to an existing group (ok)
  • add a new group (ok)
  • add the above user to this new group (ok)
  • add an existing user to an existing group (ok)
  • add an existing user to the new group created above (ok)

I probably missed something :/

@ozky
Copy link
Author

ozky commented Jul 2, 2016

Is that upgrade ? then that problem is that installer create incorrect shadow.lock ?.
I made screenshot from mcc and little video to show it will really crash.

mcc

otto.ogv.zip

@anaselli
Copy link
Collaborator

anaselli commented Jul 2, 2016

so I should install mga6 from scratch shouldn't i?

@ozky
Copy link
Author

ozky commented Jul 2, 2016

Yes please you can use virtualbox don't need to do it with main install.

@anaselli
Copy link
Collaborator

anaselli commented Jul 9, 2016

It should be fixed now, look at commit [https://github.com/manatools/manatools/commit/5ad1603d401ceb57997aa0ecef880355b158d4d9]

@anaselli anaselli closed this as completed Jul 9, 2016
@ozky
Copy link
Author

ozky commented Jul 9, 2016

No it's not fixed i still get same error this time mpan own dialog.
mpan

@anaselli
Copy link
Collaborator

anaselli commented Jul 9, 2016

I should have misunderstood, but i thought that it was not a manauser problem, but libuser. I just removed the crash issue that instead is.
Do you mean mpan crashes now?

@ozky
Copy link
Author

ozky commented Jul 10, 2016

I have no idea maybe it will go with when this bug is fixed.
https://bugs.mageia.org/show_bug.cgi?id=17504

@anaselli
Copy link
Collaborator

The problem is that an application cannot remove a lock file just because it finds it, the lock file should mean that some other application is using that resource. So manauser (and userdrake too) can only say that it cannot access to that resource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants