Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2016-10-06 12:30:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-users (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-users.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-users"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes  2016-09-27 
13:43:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-users.new/yast2-users.changes     
2016-10-06 12:30:22.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Oct  4 13:12:40 CEST 2016 - sch...@suse.de
+
+- Checking all possible /home mount points (/mnt/home and /home).
+  (bnc#995299)
+- 3.1.61
+
+-------------------------------------------------------------------

Old:
----
  yast2-users-3.1.60.tar.bz2

New:
----
  yast2-users-3.1.61.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.2h87mC/_old  2016-10-06 12:30:24.000000000 +0200
+++ /var/tmp/diff_new_pack.2h87mC/_new  2016-10-06 12:30:24.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        3.1.60
+Version:        3.1.61
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-users-3.1.60.tar.bz2 -> yast2-users-3.1.61.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.60/package/yast2-users.changes 
new/yast2-users-3.1.61/package/yast2-users.changes
--- old/yast2-users-3.1.60/package/yast2-users.changes  2016-09-21 
16:21:01.000000000 +0200
+++ new/yast2-users-3.1.61/package/yast2-users.changes  2016-10-04 
13:33:29.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Oct  4 13:12:40 CEST 2016 - sch...@suse.de
+
+- Checking all possible /home mount points (/mnt/home and /home).
+  (bnc#995299)
+- 3.1.61
+
+-------------------------------------------------------------------
 Wed Sep 21 13:25:22 UTC 2016 - mvid...@suse.com
 
 - Do not require yast2-ldap for build time tests (bsc#999203).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.60/package/yast2-users.spec 
new/yast2-users-3.1.61/package/yast2-users.spec
--- old/yast2-users-3.1.60/package/yast2-users.spec     2016-09-21 
16:21:01.000000000 +0200
+++ new/yast2-users-3.1.61/package/yast2-users.spec     2016-10-04 
13:33:29.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        3.1.60
+Version:        3.1.61
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-3.1.60/src/modules/Users.pm 
new/yast2-users-3.1.61/src/modules/Users.pm
--- old/yast2-users-3.1.60/src/modules/Users.pm 2016-09-21 16:21:01.000000000 
+0200
+++ new/yast2-users-3.1.61/src/modules/Users.pm 2016-10-04 13:33:30.000000000 
+0200
@@ -700,17 +700,19 @@
     }
 
     if ($mountpoint_in ne "") {
-        my $home_mountpoint = $home;
-        if (Stage->initial()) {
-            $home_mountpoint = Installation->destdir() . $home_mountpoint;
-        }
-        y2milestone("homes mount point is", $home_mountpoint);
+        my $dest_home_mountpoint = Installation->destdir() . $home;
+
+        y2milestone("home mount points are:", $dest_home_mountpoint, ",", 
$home);
         my $mounted    = 0;
         my $mtab       = SCR->Read (".etc.mtab");
        if (defined $mtab && ref ($mtab) eq "ARRAY") {
            foreach my $line (@{$mtab}) {
                my %line        = %{$line};
-               if ($line{"file"} eq $home_mountpoint) {
+                # While installing package "systemd" the /etc/mtab entries 
will be
+                # changed from e.g. /home to /mnt/home. This will be done in 
SLES12
+                # only and not for e.g. LEAP. So we have to check both.
+                # (bnc#995299, bnc#980878)
+               if ($line{"file"} eq $dest_home_mountpoint || $line{"file"} eq 
$home ) {
                    $mounted = 1;
                }
            }


Reply via email to