View Issue Details

IDProjectCategoryView StatusLast Update
0000382bareos-coreinstaller / packagespublic2015-03-25 19:19
Reportertigerfoot Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformopenSUSEOSanyOS Version3
Product Version14.2.2 
Fixed in Version14.4.0 
Summary0000382: Don't remove supplemental groups on install.
DescriptionUse a previous version like 12.3 or 13.2
add bareos user to others groups (like cdrom, named "backups" etc)

For example number of configuration around could use supplemental groups to access special path in the system.

New 14.2 package clean up bareos from all other groups previsously given.
Steps To ReproduceJust update and loose previous setup : this is a no go on customer plateform
TagsNo tags attached.

Relationships

child of 0000393 closed Release bareos-14.2.3 

Activities

tigerfoot

tigerfoot

2014-12-23 18:36

developer   ~0001149

Previous configuration 13.2

id bareos
uid=496(bareos) gid=494(bareos) groups=494(bareos),20(cdrom),6(disk),102(tape)


New 14.2 result afert a zypper up

id bareos
uid=496(bareos) gid=494(bareos) groups=494(bareos),6(disk),102(tape)


You have no right to change local administrator choice !!!!
mvwieringen

mvwieringen

2014-12-23 19:25

developer   ~0001151

Fix committed to bareos master branch with changesetid 2587.
mvwieringen

mvwieringen

2014-12-23 21:33

developer   ~0001153

Fix committed to bareos master branch with changesetid 2592.
tigerfoot

tigerfoot

2015-01-20 07:19

developer   ~0001200

I'm sorry to inform you:
Version 13.2.4 (13.2.4-61.1) has still the bug present when upgrading from 13.2.3
(13.2.3-31.1)

Could a backport be made for.
mvwieringen

mvwieringen

2015-01-21 15:07

developer   ~0001204

Fix committed to bareos master branch with changesetid 2649.
mvwieringen

mvwieringen

2015-01-21 15:24

developer   ~0001205

We first need to get this working on master before we think about any backporting

Seems the -a option of usermod is something not available on most platforms
as it seems something that got added as the normal behavior was not so great
either.

For now we coded reverted the old patches and worked on working around this
problematic usermod behavior. If this works in experimental it will eventually
move back into previous versions.
joergs

joergs

2015-01-23 11:37

developer   ~0001209

Added to master, succeeded in regression testing for all supported platforms.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001445

Fix committed to bareos2015 bareos-14.2 branch with changesetid 4461.
joergs

joergs

2015-03-25 19:19

developer   ~0001600

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: master d8e191bc

2014-12-23 19:20

mvwieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

When we add bareos to the right supplemental groups we should use
the -a option of usermod so it leaves the other supplemental groups
alone.

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

bareos: master 59fa771f

2014-12-23 21:01

mvwieringen

Ported: N/A

Details Diff
Work around the fact that the usermod doesn't always have -a

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

bareos: master 5dc9d3b5

2015-01-21 14:38

mvwieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

Need some coding as usermod -a doesn't work on all platforms.
We now figure out if we are creating a user from scratch e.g.
its doesn't exist at all or need to update it. For that we look
at all groups the user currently is in and add the wanted groups
if they are missing. This should work on all platforms as we
script around and only use options available on all platforms.
When we use usermod -G we supply the full list groups including
any specific groups added by the sysadmin.

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

bareos2015: bareos-14.2 809a0fad

2015-01-21 14:38

mvwieringen

Ported: N/A

Details Diff
Fix removing of supplemental groups.

Need some coding as usermod -a doesn't work on all platforms.
We now figure out if we are creating a user from scratch e.g.
its doesn't exist at all or need to update it. For that we look
at all groups the user currently is in and add the wanted groups
if they are missing. This should work on all platforms as we
script around and only use options available on all platforms.
When we use usermod -G we supply the full list groups including
any specific groups added by the sysadmin.

Fixes 0000382: Don't remove supplemental groups on install.
Affected Issues
0000382
mod - scripts/bareos-config-lib.sh.in Diff File

Issue History

Date Modified Username Field Change
2014-12-23 18:34 tigerfoot New Issue
2014-12-23 18:36 tigerfoot Note Added: 0001149
2014-12-23 19:25 mvwieringen Changeset attached => bareos master d8e191bc
2014-12-23 19:25 mvwieringen Note Added: 0001151
2014-12-23 19:25 mvwieringen Assigned To => mvwieringen
2014-12-23 19:25 mvwieringen Status new => resolved
2014-12-23 19:25 mvwieringen Resolution open => fixed
2014-12-23 19:29 mvwieringen adm Assigned To mvwieringen =>
2014-12-23 19:29 mvwieringen adm Status resolved => closed
2014-12-23 19:29 mvwieringen adm Fixed in Version => 14.2.2
2014-12-23 19:29 mvwieringen adm Summary New 14.2 packages are deleting previously setup account of bareos - This kill all supplemental groups => Don't remove supplemental groups on install.
2014-12-23 21:33 mvwieringen Changeset attached => bareos master 59fa771f
2014-12-23 21:33 mvwieringen Note Added: 0001153
2014-12-23 21:33 mvwieringen Assigned To => mvwieringen
2014-12-23 21:33 mvwieringen Status closed => resolved
2015-01-20 07:19 tigerfoot Note Added: 0001200
2015-01-20 07:19 tigerfoot Status resolved => feedback
2015-01-20 07:19 tigerfoot Resolution fixed => reopened
2015-01-21 15:07 mvwieringen Changeset attached => bareos master 5dc9d3b5
2015-01-21 15:07 mvwieringen Note Added: 0001204
2015-01-21 15:07 mvwieringen Status feedback => resolved
2015-01-21 15:24 mvwieringen Note Added: 0001205
2015-01-21 15:24 mvwieringen Status resolved => feedback
2015-01-23 11:10 joergs Relationship added child of 0000393
2015-01-23 11:37 joergs Note Added: 0001209
2015-01-23 11:37 joergs Status feedback => resolved
2015-01-23 11:37 joergs Fixed in Version 14.2.2 => 14.4.0
2015-01-23 11:37 joergs Resolution reopened => fixed
2015-01-26 15:58 mvwieringen adm Assigned To mvwieringen =>
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 809a0fad
2015-03-25 16:51 mvwieringen Note Added: 0001445
2015-03-25 19:19 joergs Note Added: 0001600
2015-03-25 19:19 joergs Status resolved => closed