Most likely rack marks of some kind, but almost certainly not German. I've seen similar stuff on a huge variety of military rifles of many eras over the years, but never seen anything like that in German service.
Any idea about the rifle or where it was used? Stock looks a bit rough, is this one of the recent Ethiopian imports?