Re: Removing gitolite package doesn't remove gitolite user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2017-03-31 at 20:37 -0500, Doug Newgard wrote:
> 
> Short version here, you deleted the user's home dir manually and left
> the user.
> That's not a packaging problem.

Yep. But shouldn't the home dir be recreated when I reinstall the
package?
It seems that the package only executes a useradd command that creates
the user home. If the user already exists that command seems to return
true without recreating the home.

The package could check for the dir after that and if it's not there
create it. The package method in the PKGBUILD already includes the
creation of the directory but it doesn't seem to fire if the user is
already there. Which is a bit weird because I don't see any check for
the user in there [1].

[1]: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUI
LD?h=packages/gitolite

-- 

Greetings

Ricardo Band

 https://   www.ricardo.band
mailto:// email@xxxxxxxxxxxx



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux