diff options
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/any.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 387de0015..9b39624b6 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- users: Make sure to restart accounts-daemon after adding users (mga#15113, mga#14476) - i18n: Write the desired console font to /etc/vconsole.conf - i18n: Use the x-distro /etc/locale.conf file instead of /etc/sysconfig/i18n - drakedm: Do not use ancient dm init script to restart DM diff --git a/perl-install/any.pm b/perl-install/any.pm index 8042a5539..fd80a4654 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -81,6 +81,7 @@ sub create_user { ? ('-l', $u->{name}, $u->{rename_from}) : $u->{name})); symlink($u->{home}, $symlink_home_from) if $symlink_home_from; + eval { run_program::rooted($::prefix, 'systemctl', 'try-restart', 'accounts-daemon.service') }; } my (undef, undef, $uid, $gid, undef, undef, undef, $home) = getpwnam($u->{name}); |