Lines Matching refs:user_name
63 if (!hr->user_name) in suitable_home_record()
68 if (!suitable_user_name(hr->user_name)) in suitable_home_record()
106 if (hashmap_contains(m->homes_by_name, hr->user_name)) in home_new()
118 nm = strdup(hr->user_name); in home_new()
134 .user_name = TAKE_PTR(nm), in home_new()
144 r = hashmap_put(m->homes_by_name, home->user_name, home); in home_new()
183 if (h->user_name) in home_free()
184 (void) hashmap_remove_value(h->manager->homes_by_name, h->user_name, h); in home_free()
206 free(h->user_name); in home_free()
232 assert(h->user_name); in home_set_record()
312 fn = strjoina(home_record_dir(), "/", h->user_name, ".identity"); in home_save_record()
326 fn = strjoina(home_record_dir(), "/", h->user_name, ".identity"); in home_unlink_record()
330 fn = strjoina("/run/systemd/home/", h->user_name, ".ref"); in home_unlink_record()
344 log_debug("Successfully closed pin fd on home for %s.", h->user_name); in home_unpin()
357 log_warning("No home directory path to pin for %s, ignoring.", h->user_name); in home_pin()
393 log_debug("Successfully closed LUKS backing file lock for %s.", h->user_name); in home_maybe_close_luks_lock_fd()
482 log_info("%s: changing state %s → %s", h->user_name, in home_set_state()
564 log_info("Home %s is signed exclusively by our key, accepting.", hr->user_name); in home_verify_user_record()
569 log_info("Home %s is signed by our key (and others), accepting.", hr->user_name); in home_verify_user_record()
574 log_info("Home %s is signed by foreign key we like, accepting.", hr->user_name); in home_verify_user_record()
579 …t_error, BUS_ERROR_BAD_SIGNATURE, "User record %s is not signed at all, refusing.", hr->user_name); in home_verify_user_record()
580 …_ERRNO(EPERM), "Home %s contains user record that is not signed at all, refusing.", hr->user_name); in home_verify_user_record()
583 …US_ERROR_BAD_SIGNATURE, "User record %s is not signed by any known key, refusing.", hr->user_name); in home_verify_user_record()
584 …ned, "Home %s contains user record that is not signed by any known key, refusing.", hr->user_name); in home_verify_user_record()
588 …_signed, "Failed to verify signature on user record for %s, refusing fixation: %m", hr->user_name); in home_verify_user_record()
612 …PASSWORD, "Password for home %s is incorrect or not sufficient for authentication.", h->user_name); in convert_worker_errno()
614 …%s is incorrect or not sufficient, and configured security token not found either.", h->user_name); in convert_worker_errno()
616 …_KEY, "Recovery key for home %s is incorrect or not sufficient for authentication.", h->user_name); in convert_worker_errno()
636 … being used, or an operation on home %s is currently being executed.", h->user_name, h->user_name); in convert_worker_errno()
638 …_bus_error_setf(error, BUS_ERROR_HOME_NOT_ACTIVE, "Home %s is currently not active", h->user_name); in convert_worker_errno()
640 …_bus_error_setf(error, BUS_ERROR_NO_DISK_SPACE, "Not enough disk space for home %s", h->user_name); in convert_worker_errno()
642 …_AUTHENTICATE, "Home %s has no password or other authentication mechanism defined.", h->user_name); in convert_worker_errno()
644 …ror_setf(error, BUS_ERROR_HOME_IN_USE, "Home %s is currently being used elsewhere.", h->user_name); in convert_worker_errno()
727 log_debug("Fixation of %s completed.", h->user_name); in home_fixate_finish()
783 log_debug("Activation of %s completed.", h->user_name); in home_activate_finish()
804 r = log_error_errno(ret, "Deactivation of %s failed: %m", h->user_name); in home_deactivate_finish()
808 log_debug("Deactivation of %s completed.", h->user_name); in home_deactivate_finish()
832 r = log_error_errno(ret, "Removing %s failed: %m", h->user_name); in home_remove_finish()
850 log_debug("Removal of %s completed.", h->user_name); in home_remove_finish()
874 log_error_errno(ret, "Operation on %s failed: %m", h->user_name); in home_create_finish()
897 log_debug("Creation of %s completed.", h->user_name); in home_create_finish()
935 log_debug("Change operation of %s completed.", h->user_name); in home_change_finish()
957 log_debug("Locking operation of %s completed.", h->user_name); in home_locking_finish()
1003 log_debug("Unlocking operation of %s completed.", h->user_name); in home_unlocking_finish()
1041 log_debug("Authentication of %s completed.", h->user_name); in home_authenticating_finish()
1328 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_fixate()
1334 …bus_error_setf(error, BUS_ERROR_HOME_ALREADY_FIXATED, "Home %s is already fixated.", h->user_name); in home_fixate()
1338 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_fixate()
1371 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_activate()
1373 …d_bus_error_setf(error, BUS_ERROR_HOME_ALREADY_ACTIVE, "Home %s is already active.", h->user_name); in home_activate()
1380 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_activate()
1385 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_activate()
1418 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_authenticate()
1420 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_authenticate()
1428 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_authenticate()
1469 … return sd_bus_error_setf(error, BUS_ERROR_HOME_NOT_ACTIVE, "Home %s not active.", h->user_name); in home_deactivate()
1471 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_deactivate()
1476 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_deactivate()
1500 …ME_EXISTS, "Selected home image of user %s already exists or has wrong inode type.", h->user_name); in home_create()
1502 …setf(error, BUS_ERROR_HOME_EXISTS, "Selected home image of user %s already exists.", h->user_name); in home_create()
1506 …n sd_bus_error_setf(error, BUS_ERROR_HOME_EXISTS, "Home of user %s already exists.", h->user_name); in home_create()
1513 … being used, or an operation on home %s is currently being executed.", h->user_name, h->user_name); in home_create()
1543 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_remove()
1551 … being used, or an operation on home %s is currently being executed.", h->user_name, h->user_name); in home_remove()
1628 …, BUS_ERROR_HOME_RECORD_SIGNED, "Home %s is signed and cannot be modified locally.", h->user_name); in home_update_internal()
1680 …bus_error_setf(error, BUS_ERROR_HOME_UNFIXATED, "Home %s has not been fixated yet.", h->user_name); in home_update()
1682 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_update()
1684 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_update()
1691 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_update()
1721 …bus_error_setf(error, BUS_ERROR_HOME_UNFIXATED, "Home %s has not been fixated yet.", h->user_name); in home_resize()
1723 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_resize()
1725 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_resize()
1732 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_resize()
1754 …, BUS_ERROR_HOME_RECORD_SIGNED, "Home %s is signed and cannot be modified locally.", h->user_name); in home_resize()
1762 …ror, BUS_ERROR_BAD_HOME_SIZE, "Requested size for home %s out of acceptable range.", h->user_name); in home_resize()
1773 …ISMATCH, "Record last change time of %s is newer than current time, cannot update.", h->user_name); in home_resize()
1805 …CESS_DENIED, "Expiration settings of account %s do not allow changing of password.", h->user_name); in home_may_change_password()
1824 …, BUS_ERROR_HOME_RECORD_SIGNED, "Home %s is signed and cannot be modified locally.", h->user_name); in home_passwd()
1829 …bus_error_setf(error, BUS_ERROR_HOME_UNFIXATED, "Home %s has not been fixated yet.", h->user_name); in home_passwd()
1831 …etf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); in home_passwd()
1833 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_passwd()
1840 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_passwd()
1883 …ISMATCH, "Record last change time of %s is newer than current time, cannot update.", h->user_name); in home_passwd()
1914 …urn sd_bus_error_setf(error, BUS_ERROR_HOME_UNFIXATED, "Home %s is not registered.", h->user_name); in home_unregister()
1916 …turn sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_unregister()
1924 … being used, or an operation on home %s is currently being executed.", h->user_name, h->user_name); in home_unregister()
1946 …return sd_bus_error_setf(error, BUS_ERROR_HOME_NOT_ACTIVE, "Home %s is not active.", h->user_name); in home_lock()
1948 …return sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is already locked.", h->user_name); in home_lock()
1953 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_lock()
1993 …return sd_bus_error_setf(error, BUS_ERROR_HOME_NOT_LOCKED, "Home %s is not locked.", h->user_name); in home_unlock()
1997 …(error, BUS_ERROR_HOME_BUSY, "An operation on home %s is currently being executed.", h->user_name); in home_unlock()
2622 …("Got notification that all sessions of user %s ended, deactivating automatically.", h->user_name); in on_home_ref_eof()
2650 fn = strjoina("/run/systemd/home/", h->user_name, suffix); in home_create_fifo()
2708 … "Home %s is currently missing or not plugged in.", h->user_name); in home_dispatch_acquire()
2757 …= sd_bus_error_setf(&error, BUS_ERROR_HOME_BUSY, "Home %s is currently referenced.", h->user_name); in home_dispatch_release()
2769 …r = sd_bus_error_setf(&error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); in home_dispatch_release()
2808 log_info("Home %s is not active, no locking necessary.", h->user_name); in home_dispatch_lock_all()
2813 log_info("Home %s is already locked.", h->user_name); in home_dispatch_lock_all()
2819 log_info("Locking home %s.", h->user_name); in home_dispatch_lock_all()
2853 log_info("Home %s is already deactivated.", h->user_name); in home_dispatch_deactivate_all()
2858 log_info("Home %s is currently locked, not deactivating.", h->user_name); in home_dispatch_deactivate_all()
2864 log_info("Deactivating home %s.", h->user_name); in home_dispatch_deactivate_all()
2901 … log_info("Home %s already deactivated, no automatic deactivation needed.", h->user_name); in home_dispatch_pipe_eof()
2905 …log_info("Home %s is already being deactivated, automatic deactivated unnecessary.", h->user_name); in home_dispatch_pipe_eof()
2912 …log_warning_errno(r, "Failed to deactivate %s, ignoring: %s", h->user_name, bus_error_message(&err… in home_dispatch_pipe_eof()
2942 …g_debug("Home %s already deactivated, no forced deactivation due to unplug needed.", h->user_name); in home_dispatch_deactivate_force()
2946 …me %s is already being deactivated, forced deactivation due to unplug unnecessary.", h->user_name); in home_dispatch_deactivate_force()
2954 …g_warning_errno(r, "Failed to forcibly deactivate %s, ignoring: %s", h->user_name, bus_error_messa… in home_dispatch_deactivate_force()
3155 …rker process for home %s is still running while exiting. Waiting for it to finish.", h->user_name); in home_wait_for_worker()