Projects
openEuler:Mainline
setup
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:setup.spec
Changed
@@ -1,6 +1,6 @@ Summary: A set of system configuration and setup files Name: setup -Version: 2.13.9.1 +Version: 2.14.3 Release: 1 License: Public Domain Group: System Environment/Base @@ -39,13 +39,10 @@ rm -f %{buildroot}/etc/uidgid rm -f %{buildroot}/etc/COPYING mkdir -p %{buildroot}/var/log -touch %{buildroot}/var/log/lastlog touch %{buildroot}/etc/environment chmod 0644 %{buildroot}/etc/environment chmod 0400 %{buildroot}/etc/{shadow,gshadow} -chmod 0644 %{buildroot}/var/log/lastlog touch %{buildroot}/etc/fstab -mkdir -p %{buildroot}/etc/profile.d echo "#Add any required envvar overrides to this file, it is sourced from /etc/profile" >%{buildroot}/etc/profile.d/sh.local echo "#Add any required envvar overrides to this file, is sourced from /etc/csh.login" >%{buildroot}/etc/profile.d/csh.local mkdir -p %{buildroot}/run/motd.d @@ -70,10 +67,16 @@ #handle it ( http://rpm.org/ticket/6 ) %post -p <lua> for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do - os.remove("/etc/"..name..".rpmnew") + os.remove("/etc/"..name..".rpmnew") end if posix.access("/usr/bin/newaliases", "x") then - os.execute("/usr/bin/newaliases >/dev/null") + local pid = posix.fork() + if pid == 0 then + posix.redirect2null(1) + posix.exec("/usr/bin/newaliases") + elseif pid > 0 then + posix.wait(pid) + end end %files @@ -112,11 +115,16 @@ %config(noreplace) /etc/profile.d/csh.local /etc/profile.d/lang.{sh,csh} %config(noreplace) %verify(not md5 size mtime) /etc/shells -%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab %{_tmpfilesdir}/%{name}.conf %changelog +* Sun Jan 29 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-1 +- update to 2.14.3 + +* Mon Oct 24 2022 hongjinghao <hongjinghao@huawei.com> - 2.13.9.1-2 +- uidgid:simplify table format by properly commenting lines + * Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 2.13.9.1-1 - Type:enhancement - ID:NA
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/setup.git</param> - <param name="revision">1bbc9d92aaa11fde3d1d5fafb0c281504f68b2ab</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/Makefile -> _service:tar_scm:setup-2.14.3.tar.bz2/Makefile
Changed
@@ -16,10 +16,10 @@ @git tag -a -m "Tag as $(TAG)" -f $(TAG) create-archive: - @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 > $(NAME)-$(VERSION).tar.bz2 - @echo "The archive is at $(NAME)-$(VERSION).tar.bz2" + @git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | gzip > $(NAME)-$(VERSION).tar.gz + @echo "The archive is at $(NAME)-$(VERSION).tar.gz" archive: tag-archive create-archive clean: - rm -f *.bz2 + rm -f *.gz
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/bashrc -> _service:tar_scm:setup-2.14.3.tar.bz2/bashrc
Changed
@@ -16,7 +16,7 @@ if "$PS1" ; then if -z "$PROMPT_COMMAND" ; then case $TERM in - xterm*|vte*) + xterm*) if -e /etc/sysconfig/bash-prompt-xterm ; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm else @@ -37,7 +37,6 @@ fi # Turn on parallel history shopt -s histappend - history -a # Turn on checkwinsize shopt -s checkwinsize "$PS1" = "\\s-\\v\\\$ " && PS1="\u@\h \W\\$ " @@ -65,15 +64,8 @@ esac } - # By default, we want umask to get set. This sets it for non-login shell. - # Current threshold for system reserved uid/gids is 200 - # You could check uidgid reservation validity in - # /usr/share/doc/setup-*/uidgid file - if $UID -gt 199 && "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ; then - umask 002 - else - umask 022 - fi + # Set default umask for non-login shell only if it is set to 0 + `umask` -eq 0 && umask 022 SHELL=/bin/bash # Only display echos from profile.d scripts if we are no login shell
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/csh.cshrc -> _service:tar_scm:setup-2.14.3.tar.bz2/csh.cshrc
Changed
@@ -2,14 +2,8 @@ # # csh configuration for all shell invocations. -# By default, we want this to get set. -# Even for non-interactive, non-login shells. -# Current threshold for system reserved uid/gids is 200 -# You could check uidgid reservation validity in -# /usr/share/doc/setup-*/uidgid file -if ($uid > 199 && "`/usr/bin/id -gn`" == "`/usr/bin/id -un`") then - umask 002 -else +# Set default umask for non-login shell only if it is set to 0 +if ( `umask` == 0 ) then umask 022 endif
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/csh.login -> _service:tar_scm:setup-2.14.3.tar.bz2/csh.login
Changed
@@ -23,9 +23,27 @@ breaksw endsw end + unset p +endif + +if ( -ex /usr/bin/hostnamectl ) then + setenv HOSTNAME `/usr/bin/hostnamectl --transient` + if ( $? != 0 ) then + unsetenv HOSTNAME + endif +endif +if ( ! $?HOSTNAME ) then + if ( -ex /usr/bin/hostname ) then + setenv HOSTNAME `/usr/bin/hostname` + if ( $? != 0 ) then + unsetenv HOSTNAME + endif + endif +endif +if ( ! $?HOSTNAME ) then + setenv HOSTNAME `/usr/bin/uname -n` endif -setenv HOSTNAME `/usr/bin/hostname` set history=1000 if ( -d /etc/profile.d ) then
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/hosts -> _service:tar_scm:setup-2.14.3.tar.bz2/hosts
Changed
@@ -1,2 +1,7 @@ +# Loopback entries; do not change. +# For historical reasons, localhost precedes localhost.localdomain: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 +# See hosts(5) for proper format and other examples: +# 192.168.1.10 foo.mydomain.org foo +# 192.168.1.13 bar.mydomain.org bar
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/passwd -> _service:tar_scm:setup-2.14.3.tar.bz2/passwd
Changed
@@ -1,13 +1,13 @@ -root:*:0:0:root:/root:/bin/bash -bin:*:1:1:bin:/bin:/sbin/nologin -daemon:*:2:2:daemon:/sbin:/sbin/nologin -adm:*:3:4:adm:/var/adm:/sbin/nologin -lp:*:4:7:lp:/var/spool/lpd:/sbin/nologin +root:*:0:0:Super User:/root:/bin/bash +bin:*:1:1:bin:/bin:/usr/sbin/nologin +daemon:*:2:2:daemon:/sbin:/usr/sbin/nologin +adm:*:3:4:adm:/var/adm:/usr/sbin/nologin +lp:*:4:7:lp:/var/spool/lpd:/usr/sbin/nologin sync:*:5:0:sync:/sbin:/bin/sync shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown halt:*:7:0:halt:/sbin:/sbin/halt -mail:*:8:12:mail:/var/spool/mail:/sbin/nologin -operator:*:11:0:operator:/root:/sbin/nologin -games:*:12:100:games:/usr/games:/sbin/nologin -ftp:*:14:50:FTP User:/var/ftp:/sbin/nologin -nobody:*:65534:65534:Kernel Overflow User:/:/sbin/nologin +mail:*:8:12:mail:/var/spool/mail:/usr/sbin/nologin +operator:*:11:0:operator:/root:/usr/sbin/nologin +games:*:12:100:games:/usr/games:/usr/sbin/nologin +ftp:*:14:50:FTP User:/var/ftp:/usr/sbin/nologin +nobody:*:65534:65534:Kernel Overflow User:/:/usr/sbin/nologin
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/protocols -> _service:tar_scm:setup-2.14.3.tar.bz2/protocols
Changed
@@ -160,3 +160,6 @@ # 253 Use for experimentation and testing RFC3692 # 254 Use for experimentation and testing RFC3692 # 255 Reserved IANA +# The following entries have not been assigned by IANA but are used +# internally by the Linux kernel. +mptcp 262 MPTCP # Multipath TCP connection
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/services -> _service:tar_scm:setup-2.14.3.tar.bz2/services
Changed
@@ -9469,8 +9469,8 @@ ircu 6665/udp # IRCU ircu-2 6666/tcp ircu2 # IRCU ircu-2 6666/udp ircu2 # IRCU -ircu-3 6667/tcp ircd,ircu3 # IRCU -ircu-3 6667/udp ircd,ircu3 # IRCU +ircu-3 6667/tcp ircd ircu3 # IRCU +ircu-3 6667/udp ircd ircu3 # IRCU ircu-4 6668/tcp ircu4 # IRCU ircu-4 6668/udp ircu4 # IRCU ircu-5 6669/tcp ircu5 # IRCU
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/setup.spec -> _service:tar_scm:setup-2.14.3.tar.bz2/setup.spec
Changed
@@ -1,18 +1,18 @@ Summary: A set of system configuration and setup files Name: setup -Version: 2.13.9 +Version: 2.14.3 Release: 1%{?dist} License: Public Domain Group: System Environment/Base URL: https://pagure.io/setup/ -Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 +Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch #systemd-rpm-macros: required to use _tmpfilesdir macro +# https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot +BuildRequires: make BuildRequires: bash tcsh perl-interpreter systemd-rpm-macros #require system release for saner dependency order Requires: system-release -Conflicts: filesystem < 3 -Conflicts: initscripts < 4.26, bash <= 2.0.4-21 %description The setup package contains a set of important system configuration and @@ -20,6 +20,7 @@ %prep %setup -q +./generate-sysusers-fragments.sh ./shadowconvert.sh %build @@ -30,24 +31,23 @@ %install rm -rf %{buildroot} -mkdir -p %{buildroot}/etc/profile.d -mkdir -p %{buildroot}/etc/motd.d +mkdir -p %{buildroot}/etc cp -ar * %{buildroot}/etc +mkdir -p %(dirname %{buildroot}%{_sysusersdir}) +mv %{buildroot}/etc/sysusers.d %{buildroot}%{_sysusersdir} +mkdir -p %{buildroot}/etc/profile.d mv %{buildroot}/etc/lang* %{buildroot}/etc/profile.d/ rm -f %{buildroot}/etc/uidgid rm -f %{buildroot}/etc/COPYING mkdir -p %{buildroot}/var/log -touch %{buildroot}/var/log/lastlog touch %{buildroot}/etc/environment chmod 0644 %{buildroot}/etc/environment chmod 0400 %{buildroot}/etc/{shadow,gshadow} -chmod 0644 %{buildroot}/var/log/lastlog touch %{buildroot}/etc/fstab -mkdir -p %{buildroot}/etc/profile.d echo "#Add any required envvar overrides to this file, it is sourced from /etc/profile" >%{buildroot}/etc/profile.d/sh.local echo "#Add any required envvar overrides to this file, is sourced from /etc/csh.login" >%{buildroot}/etc/profile.d/csh.local +mkdir -p %{buildroot}/etc/motd.d mkdir -p %{buildroot}/run/motd.d -touch %{buildroot}/run/motd mkdir -p %{buildroot}/usr/lib/motd.d touch %{buildroot}/usr/lib/motd #tmpfiles needed for files in /run @@ -60,18 +60,32 @@ rm -f %{buildroot}/etc/Makefile rm -f %{buildroot}/etc/serviceslint rm -f %{buildroot}/etc/uidgidlint +rm -f %{buildroot}/etc/generate-sysusers-fragments.sh rm -f %{buildroot}/etc/shadowconvert.sh rm -f %{buildroot}/etc/setup.spec rm -rf %{buildroot}/etc/contrib +# make setup a protected package +install -p -d -m 755 %{buildroot}/etc/dnf/protected.d/ +touch %{name}.conf +echo setup > %{name}.conf +install -p -c -m 0644 %{name}.conf %{buildroot}/etc/dnf/protected.d/ +rm -f %{name}.conf + #throw away useless and dangerous update stuff until rpm will be able to #handle it ( http://rpm.org/ticket/6 ) %post -p <lua> for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do - os.remove("/etc/"..name..".rpmnew") + os.remove("/etc/"..name..".rpmnew") end if posix.access("/usr/bin/newaliases", "x") then - os.execute("/usr/bin/newaliases >/dev/null") + local pid = posix.fork() + if pid == 0 then + posix.redirect2null(1) + posix.exec("/usr/bin/newaliases") + elseif pid > 0 then + posix.wait(pid) + end end %files @@ -92,7 +106,7 @@ %verify(not md5 size mtime) %config(noreplace) /etc/hosts %verify(not md5 size mtime) %config(noreplace) /etc/motd %dir /etc/motd.d -%verify(not md5 size mtime) %config(noreplace) /run/motd +%ghost /run/motd %dir /run/motd.d %verify(not md5 size mtime) %config(noreplace) /usr/lib/motd %dir /usr/lib/motd.d @@ -110,28 +124,85 @@ %config(noreplace) /etc/profile.d/csh.local /etc/profile.d/lang.{sh,csh} %config(noreplace) %verify(not md5 size mtime) /etc/shells -%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab %{_tmpfilesdir}/%{name}.conf +%{_sysusersdir}/20-setup-groups.conf +%{_sysusersdir}/20-setup-users.conf +/etc/dnf/protected.d/%{name}.conf %changelog -* Tue Jan 12 2021 Debarshi Ray <rishi@fedoraproject.org> - 2.13.9-1 -- Don't set up VTE-specific PROMPT_COMMAND in bashrc +* Sun Nov 27 2022 Martin Osvald <mosvald@redhat.com> - 2.14.3-1 +- sysusers.d: add script and generate configuration fragment for users +- Add fallback to hostname determination for csh.login (rhbz#2079768) +- Remove ancient Conflicts +- files: mark /run/motd as an ephemeral ghost entry -* Mon Nov 30 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.8-1 -- Do not import bashrc for posix shell +* Thu Sep 08 2022 Martin Osvald <mosvald@redhat.com> - 2.14.2-1 +- sysusers.d: add script and configuration fragments for groups +- passwd: align 'nologin' shell path with systemd defaults +- uidgid: assign GID 101 for 'ssh_keys' group +- uidgid: assign UID/GID 114 for 'polkitd' +- passwd: update GECOS field for 'root' user +- services: remove commas from aliases for ircu-3 +- setup.spec: throw away newaliases output again -* Tue Jun 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.7-1 -- Bump release to fix git tags +* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jul 20 2022 Martin Osvald <mosvald@redhat.com> - 2.14.1-1 +- bashrc sets hardcoded umask (#1902166) +- bashrc: clean up unused references to VTE +- uidgid: simplify table format and other format enhancements +- uidgid: fix news and lock entries, move basic groups to systemd -* Tue Jun 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.6-1 -- Do not use deprecated hostname binary (#1745245) +* Fri May 27 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.13.10-2 +- Fix %%post scriptlet to not require the shell -* Tue Jun 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.5-1 -- add nrpe tcp port 5666 to /etc/services (#1730396)) +* Sat May 07 2022 Martin Osvald <mosvald@redhat.com> - 2.13.10-1 +- Move /var/log/lastlog ownership to systemd (#1798685) +- tcsh sets variable p to /usr/sbin from /etc/csh.login (#2019874) +- 'history -a' doesn't belong in /etc/bashrc (#1871744) +- localhost.localdomain in wrong order /etc/hosts (#1724539) -* Tue Jun 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.4-1 -- Do not set umask in setup (#1722387) +* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 16 2021 Pavel Zhukov <pzhukov@redhat.com> - 2.13.9.1-1 +- Bugfix release 2.13.9.1 + +* Thu Jul 15 2021 Pavel Zhukov <pzhukov@redhat.com> - 2.13.9-1 +- New version v2.13.9 + +* Thu Mar 11 2021 Pavel Zhukov <pzhukov@redhat.com> - 2.13.8-1 +- New version v2.13.8 + +* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.13.7-1 +- Switch to hostnamectl +- Add nrpe tcp port 5666 to /etc/services +- Do not set umask from profile + +* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Martin Osvald <mosvald@redhat.com> - 2.13.6-1 +- csh.login: set PATH again (if empty) to prevent interpreter error (#1744106) +- aliases: add pcp user (#1744091) +- lang.csh: fix several variable substitution bugs and typos (#1746749) +- don't set LANG as a per-shell variable +- fix lang.csh script so it doesn't break tcsh -e scripts II (#1620004) +- use full path for non-builtins in csh.cshrc, csh.login, lang.csh, lang.sh and profile (#1747493) + +* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 09 2019 Ondrej Vasik <ovasik@redhat.com> - 2.13.3-1 - fix typo in lang.sh (#1697311)
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/uidgid -> _service:tar_scm:setup-2.14.3.tar.bz2/uidgid
Changed
@@ -1,12 +1,12 @@ -NAME UID GID HOME SHELL PACKAGES +#NAME UID GID HOME SHELL PACKAGES root 0 0 /root /bin/bash setup -bin 1 1 /bin /sbin/nologin setup -daemon 2 2 /sbin /sbin/nologin setup +bin 1 1 /bin /usr/sbin/nologin setup +daemon 2 2 /sbin /usr/sbin/nologin setup sys - 3 - - setup adm 3 4 /var/adm /bin/bash setup tty - 5 - - setup disk - 6 - - setup -lp 4 7 /var/spool/lpd /sbin/nologin setup +lp 4 7 /var/spool/lpd /usr/sbin/nologin setup mem - 8 - - setup kmem - 9 - - setup wheel - 10 - - setup @@ -14,16 +14,17 @@ sync 5 (0) /sbin /bin/sync setup shutdown 6 (0) /sbin /sbin/shutdown setup halt 7 (0) /sbin /sbin/halt setup -mail 8 12 /var/spool/mail /sbin/nologin setup -news 9 13 /var/spool/news /sbin/nologin setup -uucp 10 14 /var/spool/uucp /sbin/nologin uucp -operator 11 (0) /root /sbin/nologin setup -games 12 (100) /usr/games /sbin/nologin setup -gopher 13 30 /var/gopher /sbin/nologin -(not created by default) -ftp 14 50 /var/ftp /sbin/nologin setup +mail 8 12 /var/spool/mail /usr/sbin/nologin setup +news 9 13 /var/spool/news /usr/sbin/nologin inn +uucp 10 14 /var/spool/uucp /usr/sbin/nologin uucp +operator 11 (0) /root /usr/sbin/nologin setup +games 12 (100) /usr/games /usr/sbin/nologin setup +# Not created by default anymore. +gopher 13 30 /var/gopher /usr/sbin/nologin - +ftp 14 50 /var/ftp /usr/sbin/nologin setup man - 15 - - setup -oprofile 16 16 /var/lib/oprofile /sbin/nologin oprofile -pkiuser 17 17 /usr/share/pki /sbin/nologin pki-ca,rhpki-ca +oprofile 16 16 /var/lib/oprofile /usr/sbin/nologin oprofile +pkiuser 17 17 /usr/share/pki /usr/sbin/nologin pki-ca,rhpki-ca dialout - 18 - - setup floppy - 19 - - setup games - 20 - - setup @@ -37,133 +38,138 @@ nscd 28 28 / /bin/false nscd rpcuser 29 29 /var/lib/nfs /bin/false nfs-utils console - 31 - - dev -rpc 32 32 /var/lib/rpcbind /sbin/nologin portmap +rpc 32 32 /var/lib/rpcbind /usr/sbin/nologin portmap amandabackup 33 (6) /var/lib/amanda /bin/false amanda tape - 33 - - setup netdump 34 34 /var/crash /bin/bash netdump-client, netdump-server utempter - 35 - - libutempter -vdsm 36 - / /bin/bash kvm, vdsm kvm - 36 - - kvm, vdsm, libvirt +vdsm 36 (36) / /bin/bash kvm, vdsm rpm 37 37 /var/lib/rpm /bin/bash rpm -ntp 38 38 /etc/ntp /sbin/nologin ntp +ntp 38 38 /etc/ntp /usr/sbin/nologin ntp video - 39 - - setup dip - 40 - - ppp -mailman 41 41 /usr/lib/mailman /sbin/nologin mailman -gdm 42 42 /var/lib/gdm /sbin/nologin gdm +mailman 41 41 /usr/lib/mailman /usr/sbin/nologin mailman +gdm 42 42 /var/lib/gdm /usr/sbin/nologin gdm xfs 43 43 /etc/X11/fs /bin/false XFree86-xfs pppusers - 44 - - linuxconf popusers - 45 - - linuxconf slipusers - 46 - - linuxconf mailnull 47 47 /var/spool/mqueue /dev/null sendmail apache 48 48 /usr/share/httpd /bin/false httpd -wnn 49 49 /var/lib/wnn /sbin/nologin FreeWnn +wnn 49 49 /var/lib/wnn /usr/sbin/nologin FreeWnn smmsp 51 51 /var/spool/mqueue /dev/null sendmail -puppet 52 52 /var/lib/puppet /sbin/nologin puppet -tomcat 53 53 /var/lib/tomcat /sbin/nologin tomcat -lock - 54 - - lockdev +puppet 52 52 /var/lib/puppet /usr/sbin/nologin puppet +tomcat 53 53 /var/lib/tomcat /usr/sbin/nologin tomcat +lock - 54 - - setup ldap 55 55 /var/lib/ldap /bin/false openldap-servers frontpage 56 56 /var/www /bin/false mod_frontpage nut 57 57 /var/lib/ups /bin/false nut beagleindex 58 58 /var/cache/beagle /bin/false beagle -tss 59 59 - /sbin/nologin trousers +tss 59 59 - /usr/sbin/nologin trousers piranha 60 60 /etc/sysconfig/ha /dev/null piranha -prelude-manager 61 61 - /sbin/nologin prelude-manager -snortd 62 62 - /sbin/nologin snortd +prelude-manager 61 61 - /usr/sbin/nologin prelude-manager +snortd 62 62 - /usr/sbin/nologin snortd audio - 63 - - setup -condor 64 64 /var/lib/condor /sbin/nologin condord -nslcd 65 (55) / /sbin/nologin nslcd +condor 64 64 /var/lib/condor /usr/sbin/nologin condord +nslcd 65 (55) / /usr/sbin/nologin nslcd wine - 66 - - wine -pegasus 66 65 /var/lib/Pegasus /sbin/nologin tog-pegasus -webalizer 67 67 /var/www/usage /sbin/nologin webalizer -haldaemon 68 68 / /sbin/nologin hal -vcsa 69 69 - /sbin/nologin dev,MAKEDEV -avahi 70 70 /var/run/avahi-daemon /sbin/nologin avahi +pegasus 66 65 /var/lib/Pegasus /usr/sbin/nologin tog-pegasus +webalizer 67 67 /var/www/usage /usr/sbin/nologin webalizer +haldaemon 68 68 / /usr/sbin/nologin hal +vcsa 69 69 - /usr/sbin/nologin dev,MAKEDEV +avahi 70 70 /var/run/avahi-daemon /usr/sbin/nologin avahi realtime - 71 - - - -tcpdump 72 72 / /sbin/nologin tcpdump +tcpdump 72 72 / /usr/sbin/nologin tcpdump privoxy 73 73 /etc/privoxy /bin/bash privoxy -sshd 74 74 /var/empty/sshd /sbin/nologin openssh-server +sshd 74 74 /var/empty/sshd /usr/sbin/nologin openssh-server radvd 75 75 / /bin/false radvd cyrus 76 (12) /var/imap /bin/bash cyrus-imapd saslauth - 76 - - cyrus-sasl, cyrus-imap -arpwatch 77 77 /var/lib/arpwatch /sbin/nologin arpwatch -fax 78 78 /var/spool/fax /sbin/nologin mgetty +arpwatch 77 77 /var/lib/arpwatch /usr/sbin/nologin arpwatch +fax 78 78 /var/spool/fax /usr/sbin/nologin mgetty nocpulse 79 79 /etc/sysconfig/nocpulse /bin/bash nocpulse -desktop 80 80 - /sbin/nologin desktop-file-utils -dbus 81 81 / /sbin/nologin dbus -jonas 82 82 /var/lib/jonas /sbin/nologin jonas -clamav 83 83 /tmp /sbin/nologin clamav +desktop 80 80 - /usr/sbin/nologin desktop-file-utils +dbus 81 81 / /usr/sbin/nologin dbus +jonas 82 82 /var/lib/jonas /usr/sbin/nologin jonas +clamav 83 83 /tmp /usr/sbin/nologin clamav screen - 84 - - screen quaggavt - 85 - - quagga -sabayon 86 86 - /sbin/nologin sabayon -polkituser 87 87 / /sbin/nologin PolicyKit +sabayon 86 86 - /usr/sbin/nologin sabayon +polkituser 87 87 / /usr/sbin/nologin PolicyKit wbpriv - 88 - - samba-common postfix 89 89 /var/spool/postfix /bin/true postfix postdrop - 90 - - postfix majordomo 91 91 /usr/lib/majordomo /bin/bash majordomo -quagga 92 92 / /sbin/nologin quagga -exim 93 93 /var/spool/exim /sbin/nologin exim -distcache 94 94 / /sbin/nologin distcache +quagga 92 92 / /usr/sbin/nologin quagga +exim 93 93 /var/spool/exim /usr/sbin/nologin exim +distcache 94 94 / /usr/sbin/nologin distcache radiusd 95 95 / /bin/false freeradius -hsqldb 96 96 /var/lib/hsqldb /sbin/nologin hsqldb -dovecot 97 97 /usr/libexec/dovecot /sbin/nologin dovecot -ident 98 98 / /sbin/nologin ident +hsqldb 96 96 /var/lib/hsqldb /usr/sbin/nologin hsqldb +dovecot 97 97 /usr/libexec/dovecot /usr/sbin/nologin dovecot +ident 98 98 / /usr/sbin/nologin ident # Note: 99 used to be the old uid for nobody, now moved to 65534, do not reuse users - 100 - - setup -input - 104 - - setup -render - 105 - - setup -sgx - 106 - - setup -qemu 107 107 / /sbin/nologin libvirt -ovirt 108 108 / /sbin/nologin libvirt -rhevm 109 109 /home/rhevm /sbin/nologin vdsm-reg -jetty 110 110 /usr/share/jetty /sbin/nologin jetty -saned 111 111 / /sbin/nologin sane-backends -vhostmd 112 112 /usr/share/vhostmd /sbin/nologin vhostmd -usbmuxd 113 113 / /sbin/nologin usbmuxd -bacula 133 133 /var/spool/bacula /sbin/nologin bacula -cimsrvr 134 134 / /sbin/nologin tog-pegasus-libs +ssh_keys - 101 - - openssh +input - 104 - - systemd +render - 105 - - systemd +sgx - 106 - - systemd +qemu 107 107 / /usr/sbin/nologin libvirt +ovirt 108 108 / /usr/sbin/nologin libvirt +rhevm 109 109 /home/rhevm /usr/sbin/nologin vdsm-reg +jetty 110 110 /usr/share/jetty /usr/sbin/nologin jetty +saned 111 111 / /usr/sbin/nologin sane-backends +vhostmd 112 112 /usr/share/vhostmd /usr/sbin/nologin vhostmd +usbmuxd 113 113 / /usr/sbin/nologin usbmuxd +polkitd 114 114 / /usr/sbin/nologin polkit +bacula 133 133 /var/spool/bacula /usr/sbin/nologin bacula +cimsrvr 134 134 / /usr/sbin/nologin tog-pegasus-libs mock - 135 / - mock -ricci 140 140 /var/lib/ricci /sbin/nologin ricci -luci 141 141 /var/lib/luci /sbin/nologin luci -activemq 142 142 /usr/share/activemq /sbin/nologin activemq -cassandra 143 143 /var/lib/cassandra /sbin/nologin cassandra -stap-server 155 155 /var/lib/stap-server /sbin/nologin systemtap +ricci 140 140 /var/lib/ricci /usr/sbin/nologin ricci +luci 141 141 /var/lib/luci /usr/sbin/nologin luci +activemq 142 142 /usr/share/activemq /usr/sbin/nologin activemq +cassandra 143 143 /var/lib/cassandra /usr/sbin/nologin cassandra +stap-server 155 155 /var/lib/stap-server /usr/sbin/nologin systemtap stapusr - 156 / - systemtap-runtime stapsys - 157 / - systemtap-runtime stapdev - 158 / - systemtap-runtime -swift 160 160 /var/lib/swift /sbin/nologin openstack-swift -glance 161 161 /var/lib/glance /sbin/nologin openstack-glance -nova 162 162 /var/lib/nova /sbin/nologin openstack-nova -keystone 163 163 /var/lib/keystone /sbin/nologin openstack-keystone -quantum 164 164 /var/lib/quantum /sbin/nologin openstack-quantum -cinder 165 165 /var/lib/cinder /sbin/nologin openstack-cinder -ceilometer 166 166 /var/lib/ceilometer /sbin/nologin openstack-ceilometer -ceph 167 167 /var/lib/ceph /sbin/nologin ceph-common -avahi-autoipd 170 170 /var/lib/avahi-autoipd /sbin/nologin avahi -pulse 171 171 /var/run/pulse /sbin/nologin pulseaudio -rtkit 172 172 /proc /sbin/nologin rtkit -abrt 173 173 /etc/abrt /sbin/nologin abrt -retrace 174 174 /usr/share/retrace-server /sbin/nologin retrace-server -ovirtagent 175 175 / /sbin/nologin ovirt-guest-agent -ats 176 176 / /sbin/nologin trafficserver -dhcpd 177 177 / /sbin/nologin dhcp -myproxy 178 178 /var/lib/myproxy /sbin/nologin myproxy-server -sanlock 179 179 /var/run/sanlock /sbin/nologin sanlock -aeolus 180 180 /var/aeolus /sbin/nologin aeolus-configure -wallaby 181 181 /var/lib/wallaby /sbin/nologin wallaby -#katello 182 182 /usr/share/katello /sbin/nologin katello-common #not used anymore, removed Jun2021, can be freed if necessary later -elasticsearch 183 183 /usr/share/java/elasticsearch /sbin/nologin elasticsearch -mongodb 184 184 /var/lib/mongodb /sbin/nologin mongodb -wildfly 185 185 /usr/share/wildfly /sbin/nologin wildfly #was jboss-as -jbosson-agent 186 - / /sbin/nologin jboss-on-agent +swift 160 160 /var/lib/swift /usr/sbin/nologin openstack-swift +glance 161 161 /var/lib/glance /usr/sbin/nologin openstack-glance +nova 162 162 /var/lib/nova /usr/sbin/nologin openstack-nova +keystone 163 163 /var/lib/keystone /usr/sbin/nologin openstack-keystone +quantum 164 164 /var/lib/quantum /usr/sbin/nologin openstack-quantum +cinder 165 165 /var/lib/cinder /usr/sbin/nologin openstack-cinder +ceilometer 166 166 /var/lib/ceilometer /usr/sbin/nologin openstack-ceilometer +ceph 167 167 /var/lib/ceph /usr/sbin/nologin ceph-common +avahi-autoipd 170 170 /var/lib/avahi-autoipd /usr/sbin/nologin avahi +pulse 171 171 /var/run/pulse /usr/sbin/nologin pulseaudio +rtkit 172 172 /proc /usr/sbin/nologin rtkit +abrt 173 173 /etc/abrt /usr/sbin/nologin abrt +retrace 174 174 /usr/share/retrace-server /usr/sbin/nologin retrace-server +ovirtagent 175 175 / /usr/sbin/nologin ovirt-guest-agent +ats 176 176 / /usr/sbin/nologin trafficserver +dhcpd 177 177 / /usr/sbin/nologin dhcp +myproxy 178 178 /var/lib/myproxy /usr/sbin/nologin myproxy-server +sanlock 179 179 /var/run/sanlock /usr/sbin/nologin sanlock +aeolus 180 180 /var/aeolus /usr/sbin/nologin aeolus-configure +wallaby 181 181 /var/lib/wallaby /usr/sbin/nologin wallaby +# Not used anymore, removed Jun2021, can be freed if necessary later +#katello 182 182 /usr/share/katello /usr/sbin/nologin katello-common +elasticsearch 183 183 /usr/share/java/elasticsearch /usr/sbin/nologin elasticsearch +mongodb 184 184 /var/lib/mongodb /usr/sbin/nologin mongodb +# Previously provided by the 'jboss-as' package. +wildfly 185 185 /usr/share/wildfly /usr/sbin/nologin wildfly jbosson - 186 - - jboss-on-agent -heat 187 187 /var/lib/heat /sbin/nologin heat -haproxy 188 188 /var/lib/haproxy /sbin/nologin haproxy -hacluster 189 - / /sbin/nologin pacemaker +jbosson-agent 186 (186) / /usr/sbin/nologin jboss-on-agent +heat 187 187 /var/lib/heat /usr/sbin/nologin heat +haproxy 188 188 /var/lib/haproxy /usr/sbin/nologin haproxy haclient - 189 - - pacemaker +hacluster 189 (189) / /usr/sbin/nologin pacemaker systemd-journal - 190 - - systemd -#systemd-journal-gateway 191 191 / /sbin/nologin systemd #dynamic on new systems, removed Dec2014, can be freed if necessary later -systemd-network 192 192 / /sbin/nologin systemd -systemd-resolve 193 193 / /sbin/nologin systemd -gnats ? ? ? ? gnats, gnats-db -listar ? ? ? ? listar -nobody 65534 65534 / /sbin/nologin setup +# Dynamic on new systems, removed Dec2014, can be freed if necessary later +#systemd-journal-gateway 191 191 / /usr/sbin/nologin systemd +systemd-network 192 192 / /usr/sbin/nologin systemd +systemd-resolve 193 193 / /usr/sbin/nologin systemd +#gnats ? ? ? ? gnats, gnats-db +#listar ? ? ? ? listar +nobody 65534 65534 / /usr/sbin/nologin setup
View file
_service:tar_scm:setup-2.13.9.1.tar.bz2/uidgidlint -> _service:tar_scm:setup-2.14.3.tar.bz2/uidgidlint
Changed
@@ -7,16 +7,16 @@ error=0 # The format of the file is (currently) for infile in "$@" ; do - uidlist=`tail -n +2 "$infile" | awk '{print $2}' | grep -v '?' | grep -v -e - | sort -nu` - gidlist=`tail -n +2 "$infile" | awk '{print $3}' | grep -v '?' | grep -v -e - | sort -nu` + uidlist=`grep -v '^#' "$infile" | awk '{print $2}' | grep -v -e - | sort -nu` + gidlist=`grep -v '^#' "$infile" | awk '{print $3}' | grep -v -e - | sort -nu` for uid in $uidlist ; do - if test `tail -n +2 "$infile" | awk '{print $2}' | grep '^'"$uid"'$' | wc -l` -ne 1 ; then + if test `grep -v '^#' "$infile" | awk '{print $2}' | grep '^'"$uid"'$' | wc -l` -ne 1 ; then echo Duplicate UID: $uid error=1 fi done for gid in $gidlist ; do - if test `tail -n +2 "$infile" | awk '{print $3}' | grep '^'"$gid"'$' | wc -l` -ne 1 ; then + if test `grep -v '^#' "$infile" | awk '{print $3}' | grep '^'"$gid"'$' | wc -l` -ne 1 ; then echo Duplicate GID: $gid error=1 fi
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2