Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cmssw-docker
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cms-cloud
  • cmssw-docker
  • Issues
  • #49

Closed
Open
Created Oct 30, 2021 by Kati Lassila-Perini@kati

mkedanlzr in slc6 CMSSW_7_6_7 image

mkedanlzr is a nice script to have for getting started with CMS open data. In order for it to work in a slc6 CMSSW_7_6_7 container, following changes would be needed:

  • in /opt/cms/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/python/FWCore/Skeletons/pkg.py:
    • add import pwd
    • replace os.getlogin() with pwd.getpwuid(os.geteuid())[0]
  • in /opt/cms/slc6_amd64_gcc493/cms/cmssw/CMSSW_7_6_7/python/FWCore/Skeletons/utils.py:
    • similarly, replace os.getlogin() with pwd.getpwuid(os.geteuid())[0]

(see https://github.com/cernopendata/data-curation/issues/114)

Could that be done in the image build? It is a bit awkward to ask users to make this change, in particular, as this comes quite early in the learning path.

Assignee
Assign to
Time tracking