Re: [Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Ayappan
Oh, my mistake. Skipped from my eyes. Thanks @pmatilai 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/219#issuecomment-302415732___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Ayappan
@pmatilai I just opened a new PR. Thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/215#issuecomment-302382832___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Generalize primary (uid/gid=0) user & group for platforms (#219)

2017-05-18 Thread Ayappan
Platforms like AIX has system instead of root as the primary group (gid=0). 
This patch generalize these stuffs rather than hard coding in the code. This PR 
is opened to incorporate the changes needed after the review of another PR 
https://github.com/rpm-software-management/rpm/pull/215
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/219

-- Commit Summary --

  * Generalize primary user/group for platforms

-- File Changes --

M configure.ac (4)
M lib/rpmfi.c (4)
M lib/rpmug.c (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/219.patch
https://github.com/rpm-software-management/rpm/pull/219.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/219
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-18 Thread Ayappan
Thanks @pmatilai . Is it okay if i open a new PR ? . I never tried updating a 
PR ;-(

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/215#issuecomment-302376894___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-16 Thread Ayappan
@pmatilai Just made few changes as you suggested. See here 
https://github.com/aixoss/rpm/commit/2aa6af684319f314407a1eaf58177209f14415f0

About the bunch of %defattr's , since i am not familiar with the code that much 
so that i didn't touch that part. If you have any suggestions , please let me 
know 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/215#issuecomment-301703092___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)

2017-05-13 Thread Ayappan
Thanks @Conan-Kudo . Just opened a PR.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/210#issuecomment-301289331___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] AIX has system instead of root as the primary group (#215)

2017-05-13 Thread Ayappan
This PR is based on this issue 
https://github.com/rpm-software-management/rpm/issues/210
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/215

-- Commit Summary --

  * AIX has system instead of root as the primary group

-- File Changes --

M lib/rpmfi.c (5)
M lib/rpmug.c (12)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/215.patch
https://github.com/rpm-software-management/rpm/pull/215.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/215
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)

2017-05-08 Thread Ayappan
Hi Guys, any update here ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/210#issuecomment-299863197___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)

2017-05-05 Thread Ayappan
I made a few changes to the code regarding this issue. One can see the commit 
here 
-->https://github.com/aixoss/rpm/commit/92500f6ea814b1d9d35f81faff53b413a6b6cb22

If this is okay, i can go for a pull request. Thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/210#issuecomment-299415519___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)

2017-05-03 Thread Ayappan
Yes, 

# id
uid=0(root) gid=0(system) 
groups=0(system),2(bin),3(sys),7(security),8(cron),10(audit),11(lp)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/210#issuecomment-298853687___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] rpm --verify always show Group ownership change in AIX operating system (#210)

2017-05-02 Thread Ayappan
Hi Guys,

By default, AIX has "root:system" ownership for files in contrast to linux 
where we have "root:root". And there is no group called root in AIX. So 
accordingly we have the defattr as "-,root,system,-" for the SPEC files in AIX. 
But this creates problem during rpm --verify where it always shows the Group 
ownership has changed. 

Looking at the code , i saw the file rpmug.c has the group "root" hardcoded in 
few places ( in functions 
rpmugGid,  rpmugGname & loadLibs ). I think this where i have to make the fix. 
Any help will be appreciated. Thanks.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/210___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint