Changeset View
Standalone View
UIDs
Show First 20 Lines • Show All 310 Lines • ▼ Show 20 Lines | |||||
# free: 363 | # free: 363 | ||||
# free: 364 | # free: 364 | ||||
# free: 365 | # free: 365 | ||||
# free: 366 | # free: 366 | ||||
# free: 367 | # free: 367 | ||||
# free: 368 | # free: 368 | ||||
# free: 369 | # free: 369 | ||||
# free: 370 | # free: 370 | ||||
# free: 371 | nixbld1:*:371:151::0:0:Nix build user 1:/var/empty:/usr/sbin/nologin | ||||
# free: 372 | nixbld2:*:372:151::0:0:Nix build user 2:/var/empty:/usr/sbin/nologin | ||||
# free: 373 | nixbld3:*:373:151::0:0:Nix build user 3:/var/empty:/usr/sbin/nologin | ||||
# free: 374 | nixbld4:*:374:151::0:0:Nix build user 4:/var/empty:/usr/sbin/nologin | ||||
# free: 375 | nixbld5:*:375:151::0:0:Nix build user 5:/var/empty:/usr/sbin/nologin | ||||
# free: 376 | nixbld6:*:376:151::0:0:Nix build user 6:/var/empty:/usr/sbin/nologin | ||||
# free: 377 | nixbld7:*:377:151::0:0:Nix build user 7:/var/empty:/usr/sbin/nologin | ||||
# free: 378 | nixbld8:*:378:151::0:0:Nix build user 8:/var/empty:/usr/sbin/nologin | ||||
# free: 379 | nixbld9:*:379:151::0:0:Nix build user 9:/var/empty:/usr/sbin/nologin | ||||
# free: 380 | nixbld10:*:380:151::0:0:Nix build user 10:/var/empty:/usr/sbin/nologin | ||||
# free: 381 | # free: 381 | ||||
mat: Does this *really* need 10 different UIDs ?
UIDs are scarce, and with a very limited number… | |||||
Done Inline ActionsThis part of the manual says that you need X nixbld users if you want to build X packages concurrently. I'd say that we might want to just provide a script wrapper for creating users or add a note to pkg-message. The number of users depends heavily on user's use case... BTW I've added some references to the description of this differential revision. 0mp: [This part of the manual](https://nixos.org/nix/manual/#idm140737318335056) says that you need… | |||||
Not Done Inline ActionsI think this should be left to the operator to create, as the number of packages you can build at the same time depends on your CPU, and can range from 1 to a hundred. Maybe provide a script to create the users and add a note to it in pkg-message. mat: I think this should be left to the operator to create, as the number of packages you can build… | |||||
Not Done Inline ActionsCan we add 1 user first and then later add more if this would be needed? yuri: Can we add 1 user first and then later add more if this would be needed?
| |||||
Done Inline ActionsThe latest patch on GitHub (https://github.com/0mp/freebsd-ports-nix) just creates a group and then offers a script to create a desired number of users. 0mp: The latest patch on GitHub (https://github.com/0mp/freebsd-ports-nix) just creates a group and… | |||||
Not Done Inline ActionsIs this version usable? If yes, can you commit it? yuri: Is this version usable? If yes, can you commit it? | |||||
# free: 382 | # free: 382 | ||||
# free: 383 | # free: 383 | ||||
# free: 384 | # free: 384 | ||||
# free: 385 | # free: 385 | ||||
# free: 386 | # free: 386 | ||||
# free: 387 | # free: 387 | ||||
# free: 388 | # free: 388 | ||||
ldap:*:389:389::0:0:OpenLDAP Server:/nonexistent:/usr/sbin/nologin | ldap:*:389:389::0:0:OpenLDAP Server:/nonexistent:/usr/sbin/nologin | ||||
▲ Show 20 Lines • Show All 612 Lines • Show Last 20 Lines |
Does this *really* need 10 different UIDs ?
UIDs are scarce, and with a very limited number, they should probably not be abused like that.