From bf5393b15afac747f35d1d38393622cb977255ea Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Tue, 21 Feb 2017 17:47:18 +0100 Subject: Define uids/gids for all user in the system statically. Is necessary for full-filesystem updates on a stateful system. Bug-AGL: SPEC-440 Change-Id: I104dfbc27f05c91516d612d4c24e3533bb821d78 Signed-off-by: Anton Gerasimov --- meta-agl/conf/include/base-agl.inc | 5 +++ meta-agl/files/group | 85 ++++++++++++++++++++++++++++++++++++++ meta-agl/files/passwd | 57 +++++++++++++++++++++++++ 3 files changed, 147 insertions(+) create mode 100644 meta-agl/files/group create mode 100644 meta-agl/files/passwd diff --git a/meta-agl/conf/include/base-agl.inc b/meta-agl/conf/include/base-agl.inc index 1debe86a1..a332c08a4 100644 --- a/meta-agl/conf/include/base-agl.inc +++ b/meta-agl/conf/include/base-agl.inc @@ -12,3 +12,8 @@ PACKAGECONFIG_remove_pn-qtquick1 = "webkit" ASSUME_PROVIDED_remove = "tar-native" + +# Use static IDs to enable full-filesystem updates +USERADDEXTENSION = "useradd-staticids" +USERADD_ERROR_DYNAMIC = "error" + diff --git a/meta-agl/files/group b/meta-agl/files/group new file mode 100644 index 000000000..2bba52a06 --- /dev/null +++ b/meta-agl/files/group @@ -0,0 +1,85 @@ +root::0: +daemon::1: +bin::2: +sys::3: +adm::4: +tty::5: +disk::6: +lp::7: +mail::8: +news::9: +uucp::10: +man::12: +proxy::13: +kmem::15: +input::19: +dialout::20: +fax::21: +voice::22: +cdrom::24: +floppy::25: +tape::26: +sudo::27: +audio::29: +dip::30: +www-data::33: +backup::34: +operator::37: +list::38: +irc::39: +src::40: +gnats::41: +shadow::42: +utmp::43: +video::44: +sasl::45: +plugdev::46: +staff::50: +games::60: +shutdown::70: +users::100: +nogroup::65534: +cynara::999: +dhcp::998: +avahi::997: +tracing::1000: +sshd::996: +systemd-bus-proxy::995: +netdev::993: +messagebus::994: +afm::992: +weston-launch::986: +lock::990: +systemd-journal::989: +systemd-timesync::988: +pulse::991: +bind::987: +trinity::985: +mpd::984: +mysql::983: +polkitd::982: +datetime::981: +network::980: +zabbix::979: +nm-openvpn::978: +xuser::1002: +builder::977: +rpc::976: +crontab::975: +lpadmin::974: +_apt::972: +rpcuser::970: +avahi-autoipd::969: +ntp::968: +dovecot::967: +dovenull::966: +quagga::965: +quaggavty::964: +rwhod::963: +ftp::963: +squid::960: +postfix::959: +vmail::958: +opensaf::957: +lldpd::956: +postdrop::954: diff --git a/meta-agl/files/passwd b/meta-agl/files/passwd new file mode 100644 index 000000000..46a671407 --- /dev/null +++ b/meta-agl/files/passwd @@ -0,0 +1,57 @@ +root::0:0::: +daemon::1:1::: +bin::2:2::: +sys::3:3::: +sync::4:65534::: +games::5:60::: +man::6:12::: +lp::7:7::: +mail::8:8::: +news::9:9::: +uucp::10:10::: +proxy::13:13::: +www-data::33:33::: +backup::34:34::: +list::38:38::: +irc::39:39::: +gnats::41:41::: +nobody::65534:65534::: +cynara::999:999::: +dhcp::998:998::: +avahi::997:997::: +sshd::996:996::: +systemd-bus-proxy::995:995::: +agl-driver::1000:100::: +agl-passenger::1001:100::: +messagebus::994:994::: +afm::992:992::: +systemd-timesync::988:988::: +pulse::991:991::: +bind::987:987::: +trinity::985:985::: +mpd::984:984::: +mysql::983:983::: +polkitd::982:982::: +zabbix::979:979::: +nm-openvpn::978:978::: +xuser::1002:1002::: +builder::977:977::: +rpc::976:976::: +distcc::973:65534::: +_apt::972:972::: +ppp::971:65534::: +rpcuser::970:970::: +avahi-autoipd::969:969::: +ntp::968:968::: +dovecot::967:967::: +dovenull::966:966::: +quagga::965:965::: +rwhod::963:963::: +ftp::962:962::: +radvd::961:65534::: +squid::960:960::: +postfix::959:959::: +vmail::958:958::: +opensaf::957:957::: +lldpd::956:956::: +cyrus::955:8::: -- cgit 1.2.3-korg