{"id":25557872,"url":"https://github.com/puredarwin/pam_modules_pd","last_synced_at":"2026-01-27T16:32:35.524Z","repository":{"id":75748797,"uuid":"39306296","full_name":"PureDarwin/pam_modules_pd","owner":"PureDarwin","description":"Solves the \"Root Mach bootstrap cannot be transferred\" error.","archived":false,"fork":false,"pushed_at":"2015-07-18T17:30:51.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-31T13:06:15.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lists.macosforge.org/pipermail/launchd-dev/2009-March/000497.html","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PureDarwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-18T17:16:38.000Z","updated_at":"2020-08-29T21:48:53.000Z","dependencies_parsed_at":"2023-02-26T22:00:29.237Z","dependency_job_id":null,"html_url":"https://github.com/PureDarwin/pam_modules_pd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PureDarwin/pam_modules_pd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureDarwin%2Fpam_modules_pd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureDarwin%2Fpam_modules_pd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureDarwin%2Fpam_modules_pd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureDarwin%2Fpam_modules_pd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PureDarwin","download_url":"https://codeload.github.com/PureDarwin/pam_modules_pd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureDarwin%2Fpam_modules_pd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-20T15:19:52.431Z","updated_at":"2026-01-27T16:32:35.503Z","avatar_url":"https://github.com/PureDarwin.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pam_modules_pd\n\nWithout this, following error messages are printed to the system error log on a PureDarwin system:\n\n```\nMar 17 16:50:57 VMDarwin com.apple.launchd[1]  \n(com.apple.launchd.peruser.1000[95]): Root Mach bootstrap cannot be  \ntransferred.\nMar 17 16:50:57 VMDarwin login[94]: USER_PROCESS: 94 ttys000\nMar 17 16:50:57 VMDarwin com.apple.launchd[95] (0x1010b0.login[94]):  \nBug: launchd_core_logic.c:6292 (23646):1100: kr == 0\n```\n\nFollowing a [thread](https://lists.macosforge.org/pipermail/launchd-dev/2009-March/000497.html) on the `launchd-dev` mailing list, [Stuart Crook](https://github.com/sjc) wrote this module for PureDarwin following information from Damien Sorresso that \"`login` is calling into pam_launchd, which calls into `_vprocmgr_move_subset_to_user()`, and it resides in the root Mach bootstrap, i.e. the bootstrap provided by the PID 1 `launchd`. The SPI is calling `_vprocmgr_move_subset_to_user()` because it moves a bootstrap subset, not a root bootstrap. So have `login` call the Security framework's `SessionCreate()` SPI before calling into `pam_launchd`. That should do the trick.\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuredarwin%2Fpam_modules_pd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuredarwin%2Fpam_modules_pd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuredarwin%2Fpam_modules_pd/lists"}